Skip to content

Commit

Permalink
always use utf-8 with OBS json files
Browse files Browse the repository at this point in the history
  • Loading branch information
sugoidogo committed May 6, 2022
1 parent 6b40fbd commit d84149c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
for filename in listdir(scenes_path):
if(filename.endswith('.json')):
try:
file=open(scenes_path+filename,'r+')
file=open(scenes_path+filename,'r+',encoding='utf-8')
json=load(file)
if(len(json['modules']['scripts-tool'])==0):
json['modules']['scripts-tool'].append({
Expand Down

0 comments on commit d84149c

Please sign in to comment.