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 cfbc5bff30
commit e3215497bc
2 changed files with 4 additions and 1 deletions

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: