From e2f7c3ad2c07862bd6983bc6fb6eff15bc387b16 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Fri, 18 May 2007 18:38:07 +0000 Subject: [PATCH] Fix gallery image links generated on Win32 for the Narrative Web Report. svn: r8493 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/NarrativeWeb.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 579695109..9a2b2ca6a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2007-05-18 Brian Matherly + * src/plugins/NarrativeWeb.py: fix gallery image links generated on Win32 + 2007-05-16 Brian Matherly * src/plugins/NarrativeWeb.py: 0000806: default for narrative website should be protect living diff --git a/gramps2/src/plugins/NarrativeWeb.py b/gramps2/src/plugins/NarrativeWeb.py index 89c6c11de..0c845c4f4 100644 --- a/gramps2/src/plugins/NarrativeWeb.py +++ b/gramps2/src/plugins/NarrativeWeb.py @@ -943,7 +943,7 @@ class MediaPage(BasePage): def copy_source_file(self,handle,photo): ext = os.path.splitext(photo.get_path())[1] to_dir = self.build_path(handle,'images') - newpath = os.path.join(to_dir,handle+ext) + newpath = to_dir + "/" + handle + ext try: if self.archive: