Fix code indentation
This commit is contained in:
parent
789acd71bf
commit
1c4ae3eb8c
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ def get_lang_data(path_info, lang_code, curr_lang):
|
||||||
if path_info == "/":
|
if path_info == "/":
|
||||||
lang_url = f"/{lang_code}/"
|
lang_url = f"/{lang_code}/"
|
||||||
else:
|
else:
|
||||||
lang_url = reverse(rm.view_name, current_app="npb", args=rm.args, kwargs=rm.kwargs)
|
lang_url = reverse(
|
||||||
|
rm.view_name, current_app="npb", args=rm.args, kwargs=rm.kwargs
|
||||||
|
)
|
||||||
activate_lang(curr_lang)
|
activate_lang(curr_lang)
|
||||||
return (lang_code, lang_name, lang_url)
|
return (lang_code, lang_name, lang_url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue