media:thumb not medium:thumb :)
authorRodney Ewing <ewing.rj@gmail.com>
Tue, 13 Aug 2013 17:32:40 +0000 (10:32 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Fri, 16 Aug 2013 22:30:18 +0000 (15:30 -0700)
mediagoblin/media_types/audio/processing.py

index 6c565eb4c69974c011525ecaa2f4f3ca5a614868..67bf63b4141606672678dc9cb941da6de104e205 100644 (file)
@@ -254,8 +254,8 @@ class CommonAudioProcessor(MediaProcessor):
 
     def generate_thumb(self, size=None):
         if not size:
-            max_width = mgg.global_config['medium:thumb']['max_width']
-            max_height = mgg.global_config['medium:thumb']['max_height']
+            max_width = mgg.global_config['media:thumb']['max_width']
+            max_height = mgg.global_config['media:thumb']['max_height']
             size = (max_width, max_height)
 
         thumb_tmp = os.path.join(self.workbench.dir, self.name_builder.fill(