aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/process_media/workbench.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-11 19:18:27 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-11 19:18:27 -0500
commitf2b96ff0a4efab989ff5558de44b33da21b1bf00 (patch)
tree70e91d45528a9fb3fc7a96ca64f44e56f43b85da /mediagoblin/process_media/workbench.py
parentd91b5a7c2d8f518a0654d066c41b1359bee1d04e (diff)
downloadmediagoblin-f2b96ff0a4efab989ff5558de44b33da21b1bf00.tar.lz
mediagoblin-f2b96ff0a4efab989ff5558de44b33da21b1bf00.tar.xz
mediagoblin-f2b96ff0a4efab989ff5558de44b33da21b1bf00.zip
We don't need this extra '.' in making the filename
Diffstat (limited to 'mediagoblin/process_media/workbench.py')
-rw-r--r--mediagoblin/process_media/workbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/process_media/workbench.py b/mediagoblin/process_media/workbench.py
index 32ebe534..b1198adf 100644
--- a/mediagoblin/process_media/workbench.py
+++ b/mediagoblin/process_media/workbench.py
@@ -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