fix comments

This commit is contained in:
anatoly@nspcc.ru 2020-12-04 15:32:29 +03:00
parent bdffe9d2dc
commit 208602d963

View file

@ -44,10 +44,3 @@ def get_via_http_gate(cid: str, oid: str):
shutil.copyfileobj(resp.raw, f) shutil.copyfileobj(resp.raw, f)
del resp del resp
return filename return filename
#url = 'http://example.com/img.png'
#response = requests.get(url, stream=True)
#with open('img.png', 'wb') as out_file:
# shutil.copyfileobj(response.raw, out_file)
#del response