Fix run with no-utf8 default codepage

This commit is contained in:
Oleg Korshul
2024-11-28 12:28:02 +03:00
parent 5047d61e5d
commit 18fef50de7

View File

@ -52,7 +52,7 @@ def compareJsonInFolder(path):
cwd = os.path.dirname(path)
print('compare path', cwd, '\n')
with open(path, 'r') as pf:
with open(path, 'r', encoding="utf-8") as pf:
master_dict = json.load(pf)
#for root, dirs, files in os.walk(os.path.dirname(path)):