From fa27d54f010a5dbbaf37911b40b8546430cf0111 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Sun, 24 Jan 2021 18:47:31 +0000 Subject: [PATCH] More env variable testing --- PyRIGS/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index c10ae2c0..db7fb0d9 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -25,7 +25,8 @@ SECRET_KEY = os.environ.get('SECRET_KEY') if os.environ.get( def get_bool(value): - if value == '1' or value == 'true': + print(type(value)) + if value == '1' or value == 'true' or value == True: return True else: return False