Update to 5.4

This commit is contained in:
Copium-Snorter
2023-06-20 20:23:44 +01:00
parent 2991096ba7
commit 7b6f07ed6e
47 changed files with 138 additions and 89 deletions

View File

@@ -371,7 +371,7 @@ def get_account_status(form,
to_integer=False):
status = get_single_value(form, input_name=input_name, to_string=True)
if not (status in ['active', 'disabled']):
if status not in ['active', 'disabled']:
status = default_value
# SQL backends store the account status as `active=[1|0]`