Merge pull request #63 from ThaaoBlues/main

Fixed 'charmap' codec can't decode byte 0x8f
This commit is contained in:
G
2021-06-18 15:05:07 -07:00
committed by GitHub
+1 -1
View File
@@ -646,7 +646,7 @@ class SocialAnalyzer():
f.write(file.content)
if path.exists(path_to_check) == True:
self.print_wrapper("[init] {} looks good!".format(name))
with open(path_to_check) as f:
with open(path_to_check,encoding="utf-8") as f:
ret = load(f)
except Exception as e:
self.print_wrapper("[!] {} Does not exist! cannot be downloaded...".format(name))