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
envsraw = os.environ.get('PLUGIN_ENVS')
envs = None
if envsraw is not None:
prefix = 'PLUGIN_'
# Take only the envs that start with PLUGIN_ and remore the prefix