From 1f11a01c89d921612052d7e21f4750c5101e9093 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Tue, 27 Feb 2007 02:40:38 +0000 Subject: [PATCH] * src/plugins/WritePkg.py: Fix crash on gpkg export in Windows svn: r8253 --- ChangeLog | 3 +++ src/plugins/WritePkg.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f54c97ed8..4794a1a08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-02-26 Brian Matherly + * src/plugins/WritePkg.py: Fix crash on gpkg export in Windows + 2007-02-26 Don Allingham * src/GrampsDbUtils/_GedcomParse.py: handle EVENTS with argument on the declaration line diff --git a/src/plugins/WritePkg.py b/src/plugins/WritePkg.py index 467add85d..0bda6fd16 100644 --- a/src/plugins/WritePkg.py +++ b/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: