mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Fix run with no-utf8 default codepage
This commit is contained in:
@ -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)):
|
||||
|
||||
Reference in New Issue
Block a user