Reformat code

This commit is contained in:
2022-08-13 13:32:22 +01:00
parent 836e621063
commit 6c92e8e7d9
3 changed files with 2 additions and 5 deletions

View File

@@ -384,6 +384,7 @@ def _initialList(net, num, listinfo, chanlimit):
# return (listinfo, mean, sigrelay, relay)
def convert(data):
"""
Recursively convert a dictionary.
@@ -411,4 +412,3 @@ def initialList(net, num, listinfo, chanlimit):
See above docstring.
"""
deferToThread(_initialList, net, num, deepcopy(listinfo), chanlimit)

View File

@@ -1,5 +1,4 @@
from copy import deepcopy
from modules import provision
from twisted.internet import reactor
from twisted.internet.ssl import DefaultOpenSSLContextFactory
@@ -8,8 +7,8 @@ import main
from core.bot import IRCBotFactory
from modules import alias
from modules.chankeep import nukeNetwork
from modules.regproc import needToRegister
from modules.provision import provisionRelay
from modules.regproc import needToRegister
from utils.deliver_relay_commands import deliverRelayCommands
from utils.get import getRelay
from utils.logging.log import log