Fixed a problem that was causing errors in batch uploading remote files.

This commit is contained in:
tilly-Q 2014-04-21 12:29:00 -04:00
parent e00ce53ef6
commit 7ff99dabfb

View File

@ -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 == '':