comments
This commit is contained in:
parent
912bf6516c
commit
2c89bb6de3
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ def load(variables):
|
||||||
try:
|
try:
|
||||||
res = environ[var]
|
res = environ[var]
|
||||||
if var == "CHANNEL":
|
if var == "CHANNEL":
|
||||||
res = list(set(res.split(',')) - {""}) # create a list for the channels and remove blank channels
|
res = list(set(res.split(',')) - {""}) # create a list for the channels and remove blank channels and doubles
|
||||||
keys[var] = res
|
keys[var] = res
|
||||||
except KeyError:
|
except KeyError:
|
||||||
print(f"Please set the environment variable {var} (.env file supported)")
|
print(f"Please set the environment variable {var} (.env file supported)")
|
||||||
|
|
Loading…
Reference in a new issue