Fix bug report #3276. Link to temp.png should be document.png. Thanks jerome for finding it.
svn: r13792
This commit is contained in:
@@ -2707,7 +2707,7 @@ class MediaPage(BasePage):
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
dirname = tempfile.mkdtemp()
|
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,
|
if ThumbNails.run_thumbnailer(mime_type,
|
||||||
Utils.media_path_full(db, media.get_path()),
|
Utils.media_path_full(db, media.get_path()),
|
||||||
thmb_path, 320):
|
thmb_path, 320):
|
||||||
|
Reference in New Issue
Block a user