* src/plugins/WritePkg.py: Fix crash on gpkg export in Windows

svn: r8252
This commit is contained in:
Brian Matherly 2007-02-27 02:36:25 +00:00
parent 25ba79e7be
commit 62dde7b4d1
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-02-26 Brian Matherly <brian@gramps-project.org>
* src/plugins/WritePkg.py: Fix crash on gpkg export in Windows
2007-02-25 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorChart2.py: Fix index error

View File

@ -159,7 +159,7 @@ class PackageWriter:
# during the process (i.e. when removing object)
for m_id in self.db.get_media_object_handles():
mobject = self.db.get_object_from_handle(m_id)
filename = mobject.get_path()
filename = str(mobject.get_path())
if os.path.isfile(filename):
archive.add(filename)
# else: