Fix missing return
This commit is contained in:
parent
8b81267b0c
commit
421ca35c09
@ -38,7 +38,7 @@ def download(url):
|
|||||||
if resp.status_code != 200:
|
if resp.status_code != 200:
|
||||||
raise Exception('{} download failed with return code {}'.format(url, resp.status_code))
|
raise Exception('{} download failed with return code {}'.format(url, resp.status_code))
|
||||||
|
|
||||||
client.streamContent(resp)
|
return client.streamContent(resp)
|
||||||
|
|
||||||
|
|
||||||
def api(*versions):
|
def api(*versions):
|
||||||
|
Loading…
Reference in New Issue
Block a user