summaryrefslogtreecommitdiff
path: root/fbin.py
diff options
context:
space:
mode:
Diffstat (limited to 'fbin.py')
-rwxr-xr-xfbin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fbin.py b/fbin.py
index 02200e2..d3d84c8 100755
--- a/fbin.py
+++ b/fbin.py
@@ -249,6 +249,7 @@ class Application(object):
if not hasattr(temp, 'name'):
new_temp = tempfile.NamedTemporaryFile(prefix = 'upload_', dir = settings.file_directory, delete = False)
new_temp.write(temp.getvalue())
+ new_temp.seek(0)
temp = new_temp
m = hashlib.md5()