From 40646687a7d96bf90d09f655a73d93d123a9f4d0 Mon Sep 17 00:00:00 2001 From: mb Date: Sun, 30 Oct 2022 15:51:35 +0100 Subject: [PATCH] typo in line that checks if the octomode API key env variable is set --- octomode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octomode.py b/octomode.py index 33171de..120a067 100755 --- a/octomode.py +++ b/octomode.py @@ -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)