mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-12-25 04:03:59 +01:00
Fix supported_languages in generate_emu_config.py script.
This commit is contained in:
parent
0800649d8f
commit
8b9ce58195
1 changed files with 3 additions and 3 deletions
|
@ -228,11 +228,11 @@ for appid in appids:
|
|||
game_info_common = game_info["common"]
|
||||
if "community_visible_stats" in game_info_common:
|
||||
generate_achievement_stats(client, appid, out_dir, backup_dir)
|
||||
if "languages" in game_info_common:
|
||||
if "supported_languages" in game_info_common:
|
||||
with open(os.path.join(out_dir, "supported_languages.txt"), 'w') as f:
|
||||
languages = game_info_common["languages"]
|
||||
languages = game_info_common["supported_languages"]
|
||||
for l in languages:
|
||||
if languages[l] != "0":
|
||||
if "supported" in languages[l] and languages[l]["supported"] == "true":
|
||||
f.write("{}\n".format(l))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue