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

This commit is contained in:
mb 2022-10-30 15:51:35 +01:00
parent 67fe8b0828
commit 40646687a7

View File

@ -23,7 +23,7 @@ class Config(object):
APP = Flask(__name__)
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: e.g. export OCTOMODE_PAD_API_KEY=...")
exit(1)