Fix code indentation

This commit is contained in:
Rodolphe Breard 2020-02-19 14:07:59 +01:00
parent 789acd71bf
commit 1c4ae3eb8c

View file

@ -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)