From fc9129b2d6fce686c5ef7d73b8fa1ea6bf9e74af Mon Sep 17 00:00:00 2001 From: Kalina Buhleva Date: Tue, 27 Apr 2021 08:45:42 +0300 Subject: [PATCH] Update githubapp/__init__.py Co-authored-by: Jared Murrell --- githubapp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githubapp/__init__.py b/githubapp/__init__.py index ff32f01..f5b0e1c 100644 --- a/githubapp/__init__.py +++ b/githubapp/__init__.py @@ -38,4 +38,4 @@ rootlogger.warn(e) TEST_MODE = False # Check if should add member to organization -ADD_MEMBER = os.getenv("ADD_MEMBER", "False") == "True" +TEST_MODE = strtobool(os.environ.get("ADD_MEMBER", "False"))