Why did I do that

This commit is contained in:
Fierelier 2022-05-13 17:28:41 +02:00
parent 5a4470bc75
commit 712536f218

View File

@ -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"):