From 9efa9d6f9a89336acccba8a165c6e2ee2f4cee12 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 13 Jun 2022 17:14:19 -0400 Subject: [PATCH] Remove extraneous assignment in logging documentation --- docs/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/logging.rst b/docs/logging.rst index 4f94583fc..5d2bdf319 100644 --- a/docs/logging.rst +++ b/docs/logging.rst @@ -36,7 +36,7 @@ Likewise, configuring the log level to ``logging.DEBUG`` is also possible: import logging - handler = handler = logging.FileHandler(filename='discord.log', encoding='utf-8', mode='w') + handler = logging.FileHandler(filename='discord.log', encoding='utf-8', mode='w') # Assume client refers to a discord.Client subclass... client.run(token, log_handler=handler, log_level=logging.DEBUG)