fix .env parsing
Marco Andronaco andronacomarco@gmail.com
Fri, 25 Aug 2023 12:54:36 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
Config.py
→
Config.py
@@ -8,7 +8,7 @@ logging.getLogger("httpx").setLevel(logging.WARNING)
logger = logging.getLogger(__name__) INLINE_SEP = 3 * "#" -FEEDBACK_TIMEOUT = getenv("feedback_timeout", 3) +FEEDBACK_TIMEOUT = int(getenv("feedback_timeout", 3)) def config_error(): logger.error("Please create and fill the .env file.")