Skip to content

Commit

Permalink
fix: 解决Windows系统cmd运行日志输出不会显示颜色问题 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
clover1420 committed Apr 29, 2022
1 parent c91ce6e commit 0b581c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qqbot/core/util/logging.py
Expand Up @@ -14,6 +14,8 @@
"ERROR": "red",
"CRITICAL": "red",
}
#解决Windows系统cmd运行日志输出不会显示颜色问题
os.system('')


def _getLevel():
Expand Down

0 comments on commit 0b581c5

Please sign in to comment.