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

svn: r8253
This commit is contained in:
Brian Matherly 2007-02-27 02:40:38 +00:00
parent 19f4c3ab91
commit 1f11a01c89
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-26 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: handle EVENTS with argument on
the declaration line

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: