Skip to content

Commit 74a2f61

Browse files
authored
fix
1 parent 923baa7 commit 74a2f61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/update.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ def base_mod_existing(languages):
4646

4747
def base_mod_ratio(languages):
4848
base_mod = get_base_mod()
49-
translation_english = load_vcmi_json(urllib.request.urlopen('https://raw.githubusercontent.com/vcmi/vcmi/develop/Mods/vcmi/Content/config/' + base_mod["translations"][0]).read())
49+
translation_english = load_vcmi_json(urllib.request.urlopen('https://raw.githubusercontent.com/vcmi/vcmi/develop/Mods/vcmi/Content/' + base_mod["translations"][0]).read())
5050

5151
data = {}
5252

5353
for language in [key for key, value in base_mod_existing(languages).items() if value == True]:
54-
translation = load_vcmi_json(urllib.request.urlopen('https://raw.githubusercontent.com/vcmi/vcmi/develop/Mods/vcmi/Content/config/' + next(value for key, value in base_mod.items() if key == language)["translations"][0]).read())
54+
translation = load_vcmi_json(urllib.request.urlopen('https://raw.githubusercontent.com/vcmi/vcmi/develop/Mods/vcmi/Content/' + next(value for key, value in base_mod.items() if key == language)["translations"][0]).read())
5555
count_equal = 0
5656
count_difference = 0
5757
count_only_english = 0

0 commit comments

Comments
 (0)