Skip to content

Commit e9c8ef8

Browse files
authored
look into availableMods (1.7)
1 parent ea491b5 commit e9c8ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_mod_repo():
7171
settings_schema = load_vcmi_json(urllib.request.urlopen("https://raw.githubusercontent.com/vcmi/vcmi/develop/config/schemas/settings.json").read())
7272
vcmi_mod_url = settings_schema["properties"]["launcher"]["properties"]["defaultRepositoryURL"]["default"]
7373
vcmi_mods = load_vcmi_json(urllib.request.urlopen(vcmi_mod_url).read())
74-
return vcmi_mods
74+
return vcmi_mods["availableMods"]
7575

7676
def get_translation_mods():
7777
vcmi_translation_mods = {}

0 commit comments

Comments
 (0)