Fix bug report #3276. Link to temp.png should be document.png. Thanks jerome for finding it.
svn: r13792
This commit is contained in:
parent
0001133eb8
commit
97f8091467
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user