Update Teststatus

This commit is contained in:
Ozzieisaacs
2019-05-12 19:44:52 +02:00
parent 3b03aa30a6
commit 0c80f5c63a
8 changed files with 585 additions and 547 deletions
+1 -2
View File
@@ -1209,7 +1209,6 @@ def token_verified():
@web.route("/me", methods=["GET", "POST"])
@login_required
def profile():
global _
downloads = list()
languages = speaking_language()
translations = babel.list_translations() + [LC('en')]
@@ -1248,7 +1247,7 @@ def profile():
current_user.locale = to_save["locale"]
val = 0
for key, _ in to_save.items():
for key, __ in to_save.items():
if key.startswith('show'):
val += int(key[5:])
current_user.sidebar_view = val