mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Remove extraneous assignment in logging documentation
This commit is contained in:
parent
9c9703efc4
commit
c0b4c37418
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user