From cac7f93109535ad4911750ddc5e99dc53a669dc1 Mon Sep 17 00:00:00 2001 From: Joao Ramos Date: Wed, 7 Sep 2022 15:07:21 +0200 Subject: [PATCH] add upper case comment --- app/utils/misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/utils/misc.py b/app/utils/misc.py index 7702a1b..9a1b471 100644 --- a/app/utils/misc.py +++ b/app/utils/misc.py @@ -16,7 +16,8 @@ def gen_file_hash(path: str, static_file: str) -> str: def read_config_bool(var: str) -> bool: val = os.getenv(var, '0') - # user can specify one of the following values as 'true' inputs: + # user can specify one of the following values as 'true' inputs (all + # variants with upper case letters will also work): # ('true', 't', '1', 'yes', 'y') val = val.lower() in ('true', 't', '1', 'yes', 'y') return val