forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-10-02 14:54:11 +02:00
parent cf0b714d9c
commit ee95f3514b
1 changed files with 2 additions and 2 deletions

View File

@ -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)