From b95cc59bb9a4e5bf63009d26b33e07002d934cb9 Mon Sep 17 00:00:00 2001 From: Rodney Ewing Date: Wed, 14 Aug 2013 12:41:03 -0700 Subject: [PATCH] size should be a tuple --- mediagoblin/media_types/audio/processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1