File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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):
4646
4747def 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
You can’t perform that action at this time.
0 commit comments