* src/docgen/PdfDoc.py (add_photo): Encode filename.

svn: r3049
This commit is contained in:
Alex Roitman
2004-03-23 00:59:23 +00:00
parent 20db87b538
commit 197ea9354f
2 changed files with 2 additions and 1 deletions

View File

@@ -323,7 +323,7 @@ class PdfDoc(BaseDoc.BaseDoc):
act_width = x_cm/ratio
self.story.append(Spacer(1,0.5*cm))
self.story.append(Image(name,act_width*cm,act_height*cm))
self.story.append(Image(enc(name),act_width*cm,act_height*cm))
self.story.append(Spacer(1,0.5*cm))
self.image = 1