[videoob] fix #1683 : fix problem with stream parameter in request.get in python-requests v2.5

This commit is contained in:
Bezleputh 2014-12-08 17:38:40 +01:00 committed by Florent
commit d0cac165ef

View file

@ -121,7 +121,7 @@ class Videoob(ReplApplication):
os.spawnlp(os.P_WAIT, args[0], *args) os.spawnlp(os.P_WAIT, args[0], *args)
def read_url(self, url): def read_url(self, url):
r = requests.get(url, stream=True) r = requests.get(url, stream=False)
buf = r.iter_lines() buf = r.iter_lines()
r.close() r.close()
return buf return buf