linter linter go away

This commit is contained in:
Joachim 2021-04-22 20:45:16 +02:00
parent 00e6d0524f
commit ebf20de10e

View file

@ -223,4 +223,4 @@ def comparison_bool(str1, str2):
def get_lang():
""" get current language, strip to the first two letters """
language = utils.translation.get_language()
return language[0:language.find('-')]
return language[0 : language.find('-')]