From 57df202cfab6645107ff950f4030b70dedf603c3 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 6 Nov 2022 20:03:09 -0600 Subject: [PATCH] don't disable flags --- files/routes/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/settings.py b/files/routes/settings.py index cf832b46e..66c4998c8 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -44,6 +44,7 @@ def settings_personal_post(v): updated = False def update_flag(column_name:str, request_name:str): + if not request.values.get(request_name, ''): return False request_flag = request.values.get(request_name, '') == 'true' if request_flag != getattr(v, column_name): setattr(v, column_name, request_flag)