dfs
This commit is contained in:
parent
1890c3876d
commit
247fdd4978
1 changed files with 2 additions and 2 deletions
|
@ -171,8 +171,8 @@ def settings_profile_post(v):
|
|||
|
||||
frontsize = request.values.get("frontsize")
|
||||
if frontsize:
|
||||
if frontsize in [25, 50, 100]:
|
||||
v.frontsize = frontsize
|
||||
if frontsize in ["25", "50", "100"]:
|
||||
v.frontsize = int(frontsize)
|
||||
updated = True
|
||||
cache.delete_memoized(frontlist)
|
||||
else: abort(400)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue