From 31f686f5737f927578bdb158b47b49b68d1b86cb 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 --- ChangeLog | 3 +++ src/plugins/MediaManager.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1c98d6122..9fc638991 100644 --- a/ChangeLog +++ b/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/src/plugins/MediaManager.py b/src/plugins/MediaManager.py index f1fe18cdd..99939d6c2 100644 --- a/src/plugins/MediaManager.py +++ b/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)