mirror of
https://github.com/qeeqbox/social-analyzer.git
synced 2026-09-14 05:37:43 +02:00
Merge pull request #63 from ThaaoBlues/main
Fixed 'charmap' codec can't decode byte 0x8f
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user