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

svn: r8494
This commit is contained in:
Brian Matherly 2007-05-18 18:45:49 +00:00
parent 53c0a7443e
commit 6ecc393988
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/verify.glade
* src/plugins/cdexport.glade

View File

@ -946,7 +946,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: