Commit 74a2f61 1 parent 923baa7 commit 74a2f61 Copy full SHA for 74a2f61
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,12 @@ def base_mod_existing(languages):
46
46
47
47
def base_mod_ratio (languages ):
48
48
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 ())
50
50
51
51
data = {}
52
52
53
53
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 ())
55
55
count_equal = 0
56
56
count_difference = 0
57
57
count_only_english = 0
You can’t perform that action at this time.
0 commit comments