This commit is contained in:
stvnrlly
2022-11-28 20:48:25 -05:00
parent d45cbb2c86
commit 293b3e2609
3 changed files with 1 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ from notifications_utils.timezones import convert_utc_to_local_timezone
from app.utils.time import parse_naive_dt
def convert_to_boolean(value):
if isinstance(value, str):
if value.lower() in ['t', 'true', 'on', 'yes', '1']: