2
0

fix resetting session lang if unset

This commit is contained in:
Stefan Bühler 2022-04-07 14:59:14 +02:00
parent 8de390b6f9
commit 237640f0d7

View File

@ -60,7 +60,7 @@ def detect_language():
return
else:
# reset language
s.pop('lang')
s.pop('lang', None)
lang = s.get('lang')
if lang:
lang = lang.strip().lower()