Skip to content

Commit

Permalink
Merge pull request #45 from github/primetheus/fix-num-44
Browse files Browse the repository at this point in the history
Fixing #44
  • Loading branch information
Jared Murrell authored Jul 6, 2020
2 parents 5a14edc + cd8df4a commit fc1d7f5
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions githubapp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@


CRON_INTERVAL = os.environ.get('SYNC_SCHEDULE', '0 * * * *')
CHANGE_THRESHOLD = os.environ.get('CHANGE_THRESHOLD', 25)
REPO_FOR_ISSUES = os.environ.get('REPO_FOR_ISSUES')
ISSUE_ASSIGNEE = os.environ.get('ISSUE_ASSIGNEE')
OPEN_ISSUE_ON_FAILURE = strtobool(os.environ.get('OPEN_ISSUE_ON_FAILURE', False))
TEST_MODE = strtobool(os.environ.get('TEST_MODE', False))
#CHANGE_THRESHOLD = os.environ.get('CHANGE_THRESHOLD', 25)
#REPO_FOR_ISSUES = os.environ.get('REPO_FOR_ISSUES')
#ISSUE_ASSIGNEE = os.environ.get('ISSUE_ASSIGNEE')
#OPEN_ISSUE_ON_FAILURE = strtobool(os.environ.get('OPEN_ISSUE_ON_FAILURE', 'False'))
try:
TEST_MODE = strtobool(os.environ.get('TEST_MODE', 'False'))
except ValueError as e:
rootlogger.warn('TEST_MODE should be set to "true" or "false"')
rootlogger.warn(e)
TEST_MODE = False

0 comments on commit fc1d7f5

Please sign in to comment.