diff options
author | 2020-09-06 18:12:26 +0530 | |
---|---|---|
committer | 2020-09-06 18:12:26 +0530 | |
commit | a06d6127f62cd1dd48086c9cd117f049aa3c77f2 (patch) | |
tree | c09adf8b9478c1f633d994b001d3f48d0a0a4ceb /bot/__init__.py | |
parent | corrected indexing problem (diff) |
corrected index error and solve issue spam issue of wiki command
Diffstat (limited to 'bot/__init__.py')
-rw-r--r-- | bot/__init__.py | 2 |
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 |