diff options
-rw-r--r-- | storage.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,6 +18,6 @@ class FilesystemStorage: except OSError: pass # TODO: proper handling - path = os.path.join(self.root, source, filename) # TODO: consider adding in date at some point + path = os.path.join(self.root, source, os.path.basename(filename)) # TODO: consider adding in date at some point with open(path, 'wb') as f: f.write(data) |