aboutsummaryrefslogtreecommitdiffstats
path: root/bot/__init__.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-05-15 23:41:20 +0200
committerGravatar GitHub <[email protected]>2021-05-15 23:41:20 +0200
commite6e280cd13236647ffcaa35f522baeb747fbf97e (patch)
treea888762bcd97704f57ad33e8e1bd0d179c3abd2b /bot/__init__.py
parentMerge pull request #737 from python-discord/latex-don't-load-cog (diff)
parentchore: Apply Iceman's suggestions (diff)
Spring cleanup (#718)
This PR changes a ton of various different bits and pieces. Please see #718 for more information.
Diffstat (limited to '')
-rw-r--r--bot/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
index 71b7c8a3..e5ed9d92 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -64,12 +64,12 @@ logging.getLogger("matplotlib").setLevel(logging.ERROR)
# Setup new logging configuration
logging.basicConfig(
- format='%(asctime)s - %(name)s %(levelname)s: %(message)s',
+ format="%(asctime)s - %(name)s %(levelname)s: %(message)s",
datefmt="%D %H:%M:%S",
level=logging.TRACE if Client.debug else logging.DEBUG,
handlers=[console_handler, file_handler],
)
-logging.getLogger().info('Logging initialization complete')
+logging.getLogger().info("Logging initialization complete")
# On Windows, the selector event loop is required for aiodns.