aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/submit/lib.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2015-03-05 16:49:06 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2015-03-05 16:49:06 -0600
commit50f12414df260de9605489ec0ca5427cff0813bf (patch)
treed4d21fbd8b5de4e91599b1b23d1d7dfd549d7f09 /mediagoblin/submit/lib.py
parent2d0511c49991118aedaffbaae19954ab03469cca (diff)
parent2b4c339de6a5762c59054182034793e3b6002ee4 (diff)
downloadmediagoblin-50f12414df260de9605489ec0ca5427cff0813bf.tar.lz
mediagoblin-50f12414df260de9605489ec0ca5427cff0813bf.tar.xz
mediagoblin-50f12414df260de9605489ec0ca5427cff0813bf.zip
Merge remote-tracking branch 'refs/remotes/breton/bug/647'
Diffstat (limited to 'mediagoblin/submit/lib.py')
-rw-r--r--mediagoblin/submit/lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/submit/lib.py b/mediagoblin/submit/lib.py
index 541447e4..a0e1cf90 100644
--- a/mediagoblin/submit/lib.py
+++ b/mediagoblin/submit/lib.py
@@ -157,7 +157,7 @@ def submit_media(mg_app, user, submitted_file, filename,
queue_file = prepare_queue_task(mg_app, entry, filename)
with queue_file:
- queue_file.write(submitted_file.read())
+ queue_file.write(submitted_file)
# Get file size and round to 2 decimal places
file_size = mg_app.queue_store.get_file_size(