From 2c89bb6de398f1a6f5bc522767cb6c047f2b6c19 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 27 Jul 2021 21:00:57 +0200 Subject: [PATCH] comments --- src/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.py b/src/utils/utils.py index 1dd053d..5c50c7d 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -10,7 +10,7 @@ def load(variables): try: res = environ[var] 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 except KeyError: print(f"Please set the environment variable {var} (.env file supported)")