force thumbnail creation of audio
This commit is contained in:
parent
b95cc59bb9
commit
100a73a298
@ -122,8 +122,7 @@ class AudioThumbnailer(object):
|
|||||||
int(start_x), 0,
|
int(start_x), 0,
|
||||||
int(stop_x), int(im_h)))
|
int(stop_x), int(im_h)))
|
||||||
|
|
||||||
if th.size[0] > th_w or th.size[1] > th_h:
|
th.thumbnail(thumb_size, Image.ANTIALIAS)
|
||||||
th.thumbnail(thumb_size, Image.ANTIALIAS)
|
|
||||||
|
|
||||||
th.save(dst)
|
th.save(dst)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user