diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-04-21 12:29:00 -0400 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-04-21 12:29:00 -0400 |
commit | 7ff99dabfbb3e854afe2aba17a79a0aee9062e44 (patch) | |
tree | 8acce46affd667086a446048fab74e58aec66d85 | |
parent | e00ce53ef63abb20524399518e260c9262cc041b (diff) | |
download | mediagoblin-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.py | 2 |
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 == '': |