Several corrections

This commit is contained in:
Félix Aime
2021-02-04 15:47:03 +01:00
parent b8d165178c
commit dfbd920c6c
3 changed files with 8 additions and 6 deletions

View File

@ -31,7 +31,7 @@ class Report(object):
except:
self.capture_sha1 = "N/A"
self.userlang = get_config(("frontend", "userlang"))
self.userlang = get_config(("frontend", "user_lang"))
# Load template language
if not re.match("^[a-z]{2}$", self.userlang):