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"))