Code improvement

This commit is contained in:
Ozzieisaacs
2019-03-24 15:58:43 +01:00
parent 07649d04a3
commit 6940bb9b88
7 changed files with 22 additions and 31 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ def new_user():
content.locale = to_save["locale"]
val = 0
for key,v in to_save.items():
for key, _ in to_save.items():
if key.startswith('show'):
val += int(key[5:])
content.sidebar_view = val