From: Rodney Ewing Date: Wed, 14 Aug 2013 19:41:03 +0000 (-0700) Subject: size should be a tuple X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b95cc59bb9a4e5bf63009d26b33e07002d934cb9;p=mediagoblin.git size should be a tuple --- diff --git a/mediagoblin/media_types/audio/processing.py b/mediagoblin/media_types/audio/processing.py index 7000b3c4..0bcac52c 100644 --- a/mediagoblin/media_types/audio/processing.py +++ b/mediagoblin/media_types/audio/processing.py @@ -147,7 +147,7 @@ class CommonAudioProcessor(MediaProcessor): self.thumbnailer.thumbnail_spectrogram( spectrogram_filepath, thumb_tmp, - size) + tuple(size)) store_public(self.entry, 'thumb', thumb_tmp, self.name_builder.fill('{basename}.thumbnail.jpg')) @@ -200,7 +200,7 @@ class InitialProcessor(CommonAudioProcessor): parser.add_argument( '--create_spectrogram', action='store_true', - help='Create spectogram and thumbnail') + help='Create spectogram and thumbnail, will default to config') return parser