aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorJinwei Zhao <[email protected]>2017-01-31 08:45:36 +0800
committerJinwei Zhao <[email protected]>2017-01-31 08:45:36 +0800
commit3e3bd71f48821d3cdb34536be4dcecdcde9b49ab (patch)
tree6f1c42eeb3d809d26962893e3c7510c1daff50d6 /bot.py
parent66d411c97ba82bfe3b072b57d2b7f8a6554723d6 (diff)
downloadCOMM2TG-3e3bd71f48821d3cdb34536be4dcecdcde9b49ab.tar.gz
async test
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index dc50264..3e6d9b0 100755
--- a/bot.py
+++ b/bot.py
@@ -34,7 +34,7 @@ logging.basicConfig(level=logging.DEBUG,
34console = logging.StreamHandler() 34console = logging.StreamHandler()
35console.setLevel(logging.INFO) 35console.setLevel(logging.INFO)
36# set a format which is simpler for console use 36# set a format which is simpler for console use
37formatter = logging.Formatter('%(name)-12s: %(levelname)-8s %(message)s') 37formatter = logging.Formatter('%(name)-8s: %(levelname)-4s %(message)s')
38# tell the handler to use this format 38# tell the handler to use this format
39console.setFormatter(formatter) 39console.setFormatter(formatter)
40# add the handler to the root logger 40# add the handler to the root logger
Powered by cgit v1.2.3 (git 2.41.0)