size should be a tuple
authorRodney Ewing <ewing.rj@gmail.com>
Wed, 14 Aug 2013 19:41:03 +0000 (12:41 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Fri, 16 Aug 2013 22:30:22 +0000 (15:30 -0700)
mediagoblin/media_types/audio/processing.py

index 7000b3c4a61a95031fde1b9bdf8efe24426c05e2..0bcac52cf6eb3178640a7b9e54eeda28c1eb0e21 100644 (file)
@@ -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