Fix file handler type

This commit is contained in:
Stijn De Clercq 2023-07-16 22:16:32 +02:00
parent cdfcd094a4
commit d874ec6bbd

View file

@ -36,6 +36,7 @@ def setup_logging():
# Configure discord handler # Configure discord handler
discord_log = logging.getLogger("discord") discord_log = logging.getLogger("discord")
discord_handler: logging.StreamHandler
# Make dev print to stderr instead, so you don't have to watch the file # Make dev print to stderr instead, so you don't have to watch the file
if settings.SANDBOX: if settings.SANDBOX: