From: Christopher Allan Webber Date: Sun, 12 Jun 2011 00:18:27 +0000 (-0500) Subject: We don't need this extra '.' in making the filename X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f2b96ff0a4efab989ff5558de44b33da21b1bf00;p=mediagoblin.git We don't need this extra '.' in making the filename --- 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