Skip to content

Commit

Permalink
fix lower for string (lower -> lower())
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Mar 27, 2024
1 parent c4c17f0 commit 8af7f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
logger.warning("TIMEZONE is not defined in .env file, using a default timezone Europe/Kiev")
TIMEZONE = "Europe/Kiev"

if not SLIENT or SLIENT.lower not in ["true", "false"]:
if not SLIENT or SLIENT.lower() not in ["true", "false"]:
logger.warning("SLIENT is not defined in .env file, or not a boolean, using a default value false")
SLIENT = "false"
else:
Expand Down

0 comments on commit 8af7f1a

Please sign in to comment.