if envs is not set

This commit is contained in:
cupcakearmy 2019-05-27 20:25:09 +02:00
parent 881f4e6900
commit f922370c6c

View File

@ -54,6 +54,7 @@ def main():
# Remote Envs # Remote Envs
envsraw = os.environ.get('PLUGIN_ENVS') envsraw = os.environ.get('PLUGIN_ENVS')
envs = None
if envsraw is not None: if envsraw is not None:
prefix = 'PLUGIN_' prefix = 'PLUGIN_'
# Take only the envs that start with PLUGIN_ and remore the prefix # Take only the envs that start with PLUGIN_ and remore the prefix