Add check if Airtable vars are defined

This commit is contained in:
Filip Rysavy 2021-11-10 13:52:32 +01:00
parent d68f896988
commit 07b99b8192
No known key found for this signature in database
GPG Key ID: EA1F430401C92D99
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ for e in airtable_env_vars:
if not gete:
sys.exit("Configuration error: Environment variable " + e + " is not defined")
# Set variable
exec(e + " = \"" +gete + "\"")
exec(e + " = \"" + gete + "\"")
async def run_checks():