Why did I do that
This commit is contained in:
parent
5a4470bc75
commit
712536f218
@ -7,7 +7,7 @@ def download(url,decode = "utf-8"):
|
||||
response = urllib.request.urlopen(request)
|
||||
rt = response.read()
|
||||
if decode == False: return rt
|
||||
return response.read().decode(decode)
|
||||
return rt.decode(decode)
|
||||
|
||||
global fileDl
|
||||
def fileDl(url,file,read = True,decode = "utf-8"):
|
||||
|
Loading…
Reference in New Issue
Block a user