We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4148c15 commit bd3df6cCopy full SHA for bd3df6c
.github/update.py
@@ -81,7 +81,7 @@ def get_translation_mods():
81
for key, value in vcmi_mods.items():
82
url = value["mod"].replace(" ", "%20")
83
mod = load_vcmi_json(urllib.request.urlopen(url).read())
84
- if "language" in mod:
+ if "language" in mod and "modType" in mod and mod["modType"].lower() == "translation":
85
vcmi_translation_mods[mod["language"]] = (url, mod)
86
87
return vcmi_translation_mods
0 commit comments