Fix unicode issue with script.

merge-requests/50/head
Mr_Goldberg 2022-08-08 01:38:57 -04:00
parent 7c419e0afe
commit 1ad2818e28
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ for appid in appids:
except:
dlc_config_list.append((dlc, None))
with open(os.path.join(out_dir, "DLC.txt"), 'w') as f:
with open(os.path.join(out_dir, "DLC.txt"), 'w', encoding="utf-8") as f:
for x in dlc_config_list:
if (x[1] is not None):
f.write("{}={}\n".format(x[0], x[1]))