Browse Source

lint cleanups

master
Brian S. Stephan 1 year ago
parent
commit
44d8b7db00
  1. 3
      ircbot/management/commands/runircbot.py

3
ircbot/management/commands/runircbot.py

@ -1,5 +1,4 @@
"""Start the IRC bot via Django management command."""
import logging
import signal
@ -7,7 +6,6 @@ from django.core.management import BaseCommand
from ircbot.bot import IRCBot
log = logging.getLogger('ircbot')
@ -21,7 +19,6 @@ class Command(BaseCommand):
def handle(self, *args, **options):
"""Start the IRC bot and spin forever."""
irc = IRCBot()
signal.signal(signal.SIGINT, irc.sigint_handler)
irc.start()

Loading…
Cancel
Save