From a06d6127f62cd1dd48086c9cd117f049aa3c77f2 Mon Sep 17 00:00:00 2001 From: Anubhav1603 Date: Sun, 6 Sep 2020 18:12:26 +0530 Subject: corrected index error and solve issue spam issue of wiki command --- bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/__init__.py') 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 -- cgit v1.2.3