Update start.py

Fixed:

MHDDoS/start.py:168: SyntaxWarning: invalid escape sequence '\d'
  IP = compile("(?:\d{1,3}\.){3}\d{1,3}")

MHDDoS/start.py:169: SyntaxWarning: invalid escape sequence '\d'
  protocolRex = compile('"protocol":(\d+)')
This commit is contained in:
Kuchiriel 2024-09-04 18:25:38 -03:00 committed by GitHub
parent 6aef154ab2
commit 6d162050f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ BYTES_SEND = Counter()
class Tools: class Tools:
IP = compile(r"(?:\d{1,3}\.){3}\d{1,3}") IP = compile(r"(?:\d{1,3}\.){3}\d{1,3}")
protocolRex = compile(r'"protocol":(\d+)') protocolRex = compile(r'"protocol":(\d+)')
@staticmethod @staticmethod
def humanbytes(i: int, binary: bool = False, precision: int = 2): def humanbytes(i: int, binary: bool = False, precision: int = 2):
MULTIPLES = [ MULTIPLES = [