Fix bug report #3276. Link to temp.png should be document.png. Thanks jerome for finding it.

svn: r13792
This commit is contained in:
Rob G. Healey 2009-12-14 06:15:59 +00:00
parent 0001133eb8
commit 97f8091467

View File

@ -2707,7 +2707,7 @@ class MediaPage(BasePage):
)
else:
dirname = tempfile.mkdtemp()
thmb_path = os.path.join(dirname, "temp.png")
thmb_path = os.path.join(dirname, "document.png")
if ThumbNails.run_thumbnailer(mime_type,
Utils.media_path_full(db, media.get_path()),
thmb_path, 320):