From 781427247b799f943afea2ce65849a4da935eec0 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 20 Aug 2006 02:27:55 +0000 Subject: [PATCH] 2006-08-19 Alex Roitman * src/plugins/MediaManager.py (Convert2Rel._run): Correct logic. svn: r7210 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/MediaManager.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 1c98d6122..9fc638991 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-08-19 Alex Roitman + * src/plugins/MediaManager.py (Convert2Rel._run): Correct logic. + 2006-08-18 Alex Roitman * NEWS: Update. * src/PluginUtils/_Tool.py (BatchTool.run): Remove redundant method. diff --git a/gramps2/src/plugins/MediaManager.py b/gramps2/src/plugins/MediaManager.py index f1fe18cdd..99939d6c2 100644 --- a/gramps2/src/plugins/MediaManager.py +++ b/gramps2/src/plugins/MediaManager.py @@ -542,7 +542,7 @@ class Convert2Rel(BatchOp): if not self.prepared: self.prepare() self.set_total(len(self.handle_list)) - dbpath = self.db.full_name + dbpath = os.path.dirname(self.db.full_name)+'/' for handle in self.handle_list: obj = self.db.get_object_from_handle(handle) new_path = self.get_rel_path(dbpath,obj.path)