Skip to content

Commit

Permalink
avoid circular dep
Browse files Browse the repository at this point in the history
  • Loading branch information
pefoley2 committed Jan 18, 2024
1 parent ab85b51 commit 371988a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cslbot/helpers/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
import socketserver

from irc import client
from typing import Any

from . import backtrace, core, reloader
from . import backtrace, reloader

WELCOME = """
Welcome to the IRCbot console.
Expand Down Expand Up @@ -55,7 +56,7 @@ def init_server(bot):

class BotNetServer(socketserver.ThreadingMixIn, socketserver.TCPServer):
allow_reuse_address = True
bot: core.IrcBot
bot: Any


class BotNetHandler(socketserver.BaseRequestHandler):
Expand Down

0 comments on commit 371988a

Please sign in to comment.