accepting comand line arguments

This commit is contained in:
Vinicius Moreira
2019-07-01 16:37:00 -03:00
parent a1e83a5d19
commit 060acaea08
9 changed files with 56 additions and 19 deletions

View File

@@ -14,7 +14,7 @@ def get_locale_keys(key: str = None):
if key is None:
current_locale = locale.getdefaultlocale()
else:
current_locale = [key]
current_locale = [key.strip().lower()]
if current_locale:
current_locale = current_locale[0]