Skip to content

Commit

Permalink
Make type consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
GamerNoTitle committed Nov 30, 2024
1 parent 19efa09 commit a3f4f7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import yaml
import logging

if os.environ.get("MHYY_LOGLEVEL").upper() == "DEBUG":
if os.environ.get("MHYY_LOGLEVEL", "").upper() == "DEBUG":
loglevel = logging.DEBUG
elif os.environ.get("MHYY_LOGLEVEL").upper() == "WARNING":
elif os.environ.get("MHYY_LOGLEVEL", "").upper() == "WARNING":
loglevel = logging.WARNING
elif os.environ.get("MHYY_LOGLEVEL").upper() == "ERROR":
elif os.environ.get("MHYY_LOGLEVEL", "").upper() == "ERROR":
loglevel = logging.ERROR
else:
loglevel = logging.INFO
Expand Down

0 comments on commit a3f4f7d

Please sign in to comment.