aboutsummaryrefslogtreecommitdiffstats
path: root/bot/__init__.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2020-09-24 19:36:57 +0200
committerGravatar GitHub <[email protected]>2020-09-24 19:36:57 +0200
commit26a4524188261db8dd095396d7a57ecc5cfc245e (patch)
tree77937e7da049ded12f0475ac34acf7c3b70035fe /bot/__init__.py
parentRemove walk_extensions from exts' init (diff)
parentMerge pull request #456 from Anubhav1603/update_dpy (diff)
Merge branch 'master' into ext-managment
Diffstat (limited to 'bot/__init__.py')
-rw-r--r--bot/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
index 6976e089..a9a0865e 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -37,7 +37,7 @@ os.makedirs(log_dir, exist_ok=True)
# File handler rotates logs every 5 MB
file_handler = logging.handlers.RotatingFileHandler(
- log_file, maxBytes=5*(2**20), backupCount=10)
+ log_file, maxBytes=5 * (2**20), backupCount=10)
file_handler.setLevel(logging.TRACE if Client.debug else logging.DEBUG)
# Console handler prints to terminal