Add check if Airtable vars are defined
This commit is contained in:
parent
d68f896988
commit
07b99b8192
|
@ -24,7 +24,7 @@ for e in airtable_env_vars:
|
||||||
if not gete:
|
if not gete:
|
||||||
sys.exit("Configuration error: Environment variable " + e + " is not defined")
|
sys.exit("Configuration error: Environment variable " + e + " is not defined")
|
||||||
# Set variable
|
# Set variable
|
||||||
exec(e + " = \"" +gete + "\"")
|
exec(e + " = \"" + gete + "\"")
|
||||||
|
|
||||||
|
|
||||||
async def run_checks():
|
async def run_checks():
|
||||||
|
|
Reference in New Issue