From: Rodney Ewing Date: Wed, 14 Aug 2013 20:06:08 +0000 (-0700) Subject: force thumbnail creation of audio X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=100a73a298f739d345cc41d9e5260c170a408c03;p=mediagoblin.git force thumbnail creation of audio --- diff --git a/mediagoblin/media_types/audio/transcoders.py b/mediagoblin/media_types/audio/transcoders.py index 84e6af7e..150dad8e 100644 --- a/mediagoblin/media_types/audio/transcoders.py +++ b/mediagoblin/media_types/audio/transcoders.py @@ -122,8 +122,7 @@ class AudioThumbnailer(object): int(start_x), 0, 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)