We don't need this extra '.' in making the filename
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 12 Jun 2011 00:18:27 +0000 (19:18 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 12 Jun 2011 00:18:27 +0000 (19:18 -0500)
mediagoblin/process_media/workbench.py

index 32ebe534de5d471374a895026b25fd0a7a7fae96..b1198adf35643aaf05371a4bb5ce1384ac510905 100644 (file)
@@ -126,7 +126,7 @@ class WorkbenchManager(object):
             else:
                 orig_filename, orig_ext = os.path.splitext(filepath[-1])
                 if keep_extension_if_copying and orig_ext:
-                    dest_filename = filename_if_copying + '.' + orig_ext
+                    dest_filename = filename_if_copying + orig_ext
                 else:
                     dest_filename = filename_if_copying