From 7ff99dabfbb3e854afe2aba17a79a0aee9062e44 Mon Sep 17 00:00:00 2001 From: tilly-Q Date: Mon, 21 Apr 2014 12:29:00 -0400 Subject: [PATCH] Fixed a problem that was causing errors in batch uploading remote files. --- mediagoblin/gmg_commands/batchaddmedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == '':