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)