Update pre-commit versions
This commit is contained in:
parent
87b81ac236
commit
210237b50a
|
@ -98,7 +98,6 @@ class IRCRelayFactory(ReconnectingClientFactory):
|
||||||
self.relayCommands, self.user, self.stage2 = relayCommands, user, stage2
|
self.relayCommands, self.user, self.stage2 = relayCommands, user, stage2
|
||||||
|
|
||||||
def buildProtocol(self, addr):
|
def buildProtocol(self, addr):
|
||||||
|
|
||||||
entry = IRCRelay(self.num, self.relayCommands, self.user, self.stage2)
|
entry = IRCRelay(self.num, self.relayCommands, self.user, self.stage2)
|
||||||
|
|
||||||
self.client = entry
|
self.client = entry
|
||||||
|
|
|
@ -56,7 +56,6 @@ class Chan4(object):
|
||||||
self.log.debug(f"Created new hash key: {self.hash_key}")
|
self.log.debug(f"Created new hash key: {self.hash_key}")
|
||||||
db.r.set("hashing_key", self.hash_key)
|
db.r.set("hashing_key", self.hash_key)
|
||||||
else:
|
else:
|
||||||
|
|
||||||
self.hash_key = self.hash_key.decode("ascii")
|
self.hash_key = self.hash_key.decode("ascii")
|
||||||
self.log.debug(f"Decoded hash key: {self.hash_key}")
|
self.log.debug(f"Decoded hash key: {self.hash_key}")
|
||||||
|
|
||||||
|
|
1
util.py
1
util.py
|
@ -43,7 +43,6 @@ class ColoredFormatter(logging.Formatter):
|
||||||
|
|
||||||
|
|
||||||
def get_logger(name):
|
def get_logger(name):
|
||||||
|
|
||||||
# Define the logging format
|
# Define the logging format
|
||||||
FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s"
|
FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s"
|
||||||
COLOR_FORMAT = formatter_message(FORMAT, True)
|
COLOR_FORMAT = formatter_message(FORMAT, True)
|
||||||
|
|
Loading…
Reference in New Issue