2006-08-19 Alex Roitman <shura@gramps-project.org>

* src/plugins/MediaManager.py (Convert2Rel._run): Correct logic.



svn: r7210
This commit is contained in:
Alex Roitman 2006-08-20 02:27:55 +00:00
parent ea6d923618
commit 31f686f573
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2006-08-19 Alex Roitman <shura@gramps-project.org>
* src/plugins/MediaManager.py (Convert2Rel._run): Correct logic.
2006-08-18 Alex Roitman <shura@gramps-project.org>
* NEWS: Update.
* src/PluginUtils/_Tool.py (BatchTool.run): Remove redundant method.

View File

@ -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)