Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
qmk-bot committed Oct 30, 2024
2 parents 834f88b + 465cbc8 commit f1f8750
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/python/qmk/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,11 @@ def filter_help() -> str:

def _set_log_level(level):
cli.acquire_lock()
old = cli.log_level
cli.log_level = level
try:
old = cli.log_level
cli.log_level = level
except AttributeError:
old = cli.log.level
cli.log.setLevel(level)
logging.root.setLevel(level)
cli.release_lock()
Expand Down

0 comments on commit f1f8750

Please sign in to comment.