mirror of https://github.com/MatrixTM/MHDDoS.git
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:
parent
6aef154ab2
commit
6d162050f0
2
start.py
2
start.py
|
|
@ -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 = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue