mirror of https://github.com/MatrixTM/MHDDoS.git
Fix "SyntaxWarning: invalid escape sequence '\d'"
This commit is contained in:
parent
74a6d0ca4a
commit
da70378297
4
start.py
4
start.py
|
|
@ -165,8 +165,8 @@ BYTES_SEND = Counter()
|
|||
|
||||
|
||||
class Tools:
|
||||
IP = compile("(?:\d{1,3}\.){3}\d{1,3}")
|
||||
protocolRex = compile('"protocol":(\d+)')
|
||||
IP = compile("(?:\\d{1,3}\\.){3}\\d{1,3}")
|
||||
protocolRex = compile('"protocol":(\\d+)')
|
||||
|
||||
@staticmethod
|
||||
def humanbytes(i: int, binary: bool = False, precision: int = 2):
|
||||
|
|
|
|||
Loading…
Reference in New Issue