diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-12-20 13:00:26 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-12-20 13:00:26 (GMT) |
commit | ba0a546d53bb10aa8540f9725488c8f7d0dde250 (patch) | |
tree | 28cf110b3eaa96e3d3c396cdc5ea7f6a8725c346 | |
parent | 21c8e9c079bbe32a00a298dceecb551a3fbb1b56 (diff) |
Tune #1550 fix to preserve previous naming scheme
-rw-r--r-- | src/carquinyol/filestore.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/carquinyol/filestore.py b/src/carquinyol/filestore.py index 1e2949b..9724397 100644 --- a/src/carquinyol/filestore.py +++ b/src/carquinyol/filestore.py @@ -110,8 +110,8 @@ class FileStore(object): elif extension: extension = '.' + extension - fd, destination_path = tempfile.mkstemp(prefix=uid, suffix=extension, - dir=destination_dir) + fd, destination_path = tempfile.mkstemp(prefix=uid + '_', + suffix=extension, dir=destination_dir) os.close(fd) os.unlink(destination_path) |