Browse Source

typo in line that checks if the octomode API key env variable is set

pull/30/head
mb 2 years ago
parent
commit
40646687a7
  1. 2
      octomode.py

2
octomode.py

@ -23,7 +23,7 @@ class Config(object):
APP = Flask(__name__) APP = Flask(__name__)
APP.config.from_object(Config) APP.config.from_object(Config)
if APP.config.get('PAD_API_KEY', '') == '': if APP.config.get('OCTOMODE_PAD_API_KEY', '') == '':
print("error: you must provide a value for OCTOMODE_PAD_API_KEY") print("error: you must provide a value for OCTOMODE_PAD_API_KEY")
print("error: e.g. export OCTOMODE_PAD_API_KEY=...") print("error: e.g. export OCTOMODE_PAD_API_KEY=...")
exit(1) exit(1)

Loading…
Cancel
Save