From 0f81b8a45188892304506a36f9a2c56d7bddb826 Mon Sep 17 00:00:00 2001 From: Matyas Selmeci Date: Tue, 20 Feb 2024 15:14:56 -0600 Subject: [PATCH] Fix typo in is_true() --- src/webapp/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webapp/common.py b/src/webapp/common.py index 0ddd6a154..cd85ca3d8 100644 --- a/src/webapp/common.py +++ b/src/webapp/common.py @@ -282,7 +282,7 @@ def is_true(input_) -> bool: if isinstance(input_, bytes): input_ = input_.decode(errors="replace") if not isinstance(input_, str): - return bool(input) + return bool(input_) input_ = input_.lower() return input_ in ("1", "true", "yes", "on")