Locale path fix

This commit is contained in:
Vinicius Moreira
2019-06-17 16:03:28 -03:00
parent f467da2fbf
commit 1daf3eb5e2
2 changed files with 3 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ def get_locale_keys():
if current_locale:
current_locale = current_locale[0]
locale_dir = resource.get_path('/locale')
locale_dir = resource.get_path('locale')
for locale_file in glob.glob(locale_dir + '/*'):
name = locale_file.split('/')[-1]