aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilly-Q <nattilypigeonfowl@gmail.com>2014-04-21 12:29:00 -0400
committertilly-Q <nattilypigeonfowl@gmail.com>2014-04-21 12:29:00 -0400
commit7ff99dabfbb3e854afe2aba17a79a0aee9062e44 (patch)
tree8acce46affd667086a446048fab74e58aec66d85
parente00ce53ef63abb20524399518e260c9262cc041b (diff)
downloadmediagoblin-7ff99dabfbb3e854afe2aba17a79a0aee9062e44.tar.lz
mediagoblin-7ff99dabfbb3e854afe2aba17a79a0aee9062e44.tar.xz
mediagoblin-7ff99dabfbb3e854afe2aba17a79a0aee9062e44.zip
Fixed a problem that was causing errors in batch uploading remote files.
-rw-r--r--mediagoblin/gmg_commands/batchaddmedia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/batchaddmedia.py b/mediagoblin/gmg_commands/batchaddmedia.py
index f50425f3..61a068d2 100644
--- a/mediagoblin/gmg_commands/batchaddmedia.py
+++ b/mediagoblin/gmg_commands/batchaddmedia.py
@@ -151,7 +151,7 @@ zip files and directories"
filename = url.path.split()[-1]
if url.scheme == 'http':
- res = requests.get(url.geturl())
+ res = requests.get(url.geturl(), stream=True)
media_file = res.raw
elif url.scheme == '':