typo in line that checks if the octomode API key env variable is set
This commit is contained in:
parent
67fe8b0828
commit
40646687a7
@ -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…
Reference in New Issue
Block a user