* src/plugins/WritePkg.py: Fix crash on gpkg export in Windows
svn: r8252
This commit is contained in:
parent
2bb58a82d9
commit
e8ad54b150
@ -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>
|
2007-02-25 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/AncestorChart2.py: Fix index error
|
* src/plugins/AncestorChart2.py: Fix index error
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ class PackageWriter:
|
|||||||
# during the process (i.e. when removing object)
|
# during the process (i.e. when removing object)
|
||||||
for m_id in self.db.get_media_object_handles():
|
for m_id in self.db.get_media_object_handles():
|
||||||
mobject = self.db.get_object_from_handle(m_id)
|
mobject = self.db.get_object_from_handle(m_id)
|
||||||
filename = mobject.get_path()
|
filename = str(mobject.get_path())
|
||||||
if os.path.isfile(filename):
|
if os.path.isfile(filename):
|
||||||
archive.add(filename)
|
archive.add(filename)
|
||||||
# else:
|
# else:
|
||||||
|
Loading…
Reference in New Issue
Block a user