We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ffc53 commit c4ef09aCopy full SHA for c4ef09a
.github/update.py
@@ -32,7 +32,7 @@ def load_vcmi_json(string):
32
return obj
33
34
def get_languages():
35
- with urllib.request.urlopen('https://raw.githubusercontent.com/vcmi/vcmi/develop/lib/Languages.h') as f:
+ with urllib.request.urlopen('https://raw.githubusercontent.com/vcmi/vcmi/develop/lib/texts/Languages.h') as f:
36
src = f.read().decode('utf-8')
37
languages = [x for x in re.findall(r"{ ?\"([\w]*)?\" ?,", src, re.IGNORECASE) if "other" not in x]
38
return languages
0 commit comments