all repos — gif-escarbot @ bd90adc6575ce56127ebd261c9c61e58f6d8c629

Earthbound Café's custom delivery bot with other cool utilities built-in.

fix .env parsing
Marco Andronaco andronacomarco@gmail.com
Fri, 25 Aug 2023 12:54:36 +0200
commit

bd90adc6575ce56127ebd261c9c61e58f6d8c629

parent

f4d197313fa0b0d01afc9264df8a87c5ab64fa51

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M Config.pyConfig.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.")