Merge pull request #1 from anonymous-ME/webcloner-fix

fixing web cloner - fallback option with urllib
This commit is contained in:
Affan Ahmad 2021-03-23 14:12:06 +00:00 committed by GitHub
commit 53cfb2cda0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,7 +171,7 @@ try:
# open file for writing
filewrite = open(userconfigpath + "web_clone/index.html", "w")
# write the data back from the request
filewrite.write(html)
filewrite.write(html.decode("utf-8"))
# close the file
filewrite.close()