Skip to content

Commit dbce0a5

Browse files
authored
Fix SyntaxWarning
1 parent 74a6d0c commit dbce0a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

start.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ def set(self, value):
165165

166166

167167
class Tools:
168-
IP = compile("(?:\d{1,3}\.){3}\d{1,3}")
169-
protocolRex = compile('"protocol":(\d+)')
168+
IP = compile("(?:\\d{1,3}\\.){3}\\d{1,3}")
169+
protocolRex = compile('"protocol":(\\d+)')
170170

171171
@staticmethod
172172
def humanbytes(i: int, binary: bool = False, precision: int = 2):

0 commit comments

Comments
 (0)