don't include the '.' in the ext
authorRodney Ewing <ewing.rj@gmail.com>
Wed, 14 Aug 2013 17:52:37 +0000 (10:52 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Fri, 16 Aug 2013 22:30:21 +0000 (15:30 -0700)
mediagoblin/media_types/stl/processing.py

index 2ec4241c5231cd471173a97a29d11e8885881273..55938c06f32e573f4955b8bb283b52fce5eb260c 100644 (file)
@@ -95,7 +95,7 @@ class CommonStlProcessor(MediaProcessor):
         self._set_greatest()
 
     def _set_ext(self):
-        ext = self.name_builder.ext
+        ext = self.name_builder.ext[1:]
 
         if not ext:
             ext = None