Skip to content

Commit

Permalink
Fixed LOG_LEVEL is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicbyte authored Aug 7, 2023
1 parent 55c3971 commit edb2903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

try:
import coloredlogs
coloredlogs.install(level='DEBUG', fmt='%(asctime)s %(levelname)s %(message)s')
coloredlogs.install(level=LOG_LEVEL, fmt='%(asctime)s %(levelname)s %(message)s')
except ImportError:
logging.basicConfig(level='DEBUG')
logging.basicConfig(level=LOG_LEVEL)
logging.warning('Coloredlogs is not installed. Install it with "pip install coloredlogs" to get cool logs!')

# Set config variables
Expand Down

0 comments on commit edb2903

Please sign in to comment.