Fix gallery image links generated on Win32 for the Narrative Web Report.

svn: r8493
This commit is contained in:
Brian Matherly 2007-05-18 18:38:07 +00:00
parent 2dd8192787
commit e2f7c3ad2c
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-05-18 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: fix gallery image links generated on Win32
2007-05-16 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: 0000806: default for narrative website should
be protect living

View File

@ -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: