mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 02:08:25 +00:00
Remove extraneous assignment in logging documentation
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user