From e8ad54b1505bcdd4dfafd18ee47d1cae11f3cc8e Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Tue, 27 Feb 2007 02:36:25 +0000 Subject: [PATCH] * src/plugins/WritePkg.py: Fix crash on gpkg export in Windows svn: r8252 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/WritePkg.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 129ac65d3..70aad17e1 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2007-02-26 Brian Matherly + * src/plugins/WritePkg.py: Fix crash on gpkg export in Windows + 2007-02-25 Brian Matherly * src/plugins/AncestorChart2.py: Fix index error diff --git a/gramps2/src/plugins/WritePkg.py b/gramps2/src/plugins/WritePkg.py index 6d0766bc3..7233e1c10 100644 --- a/gramps2/src/plugins/WritePkg.py +++ b/gramps2/src/plugins/WritePkg.py @@ -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: