Update consoleUI.py - Del regex from extractSign
This commit is contained in:
parent
8d2b9a04cf
commit
3d5112fa1d
@ -50,8 +50,8 @@ class ConsoleUI(threading.Thread):
|
|||||||
print("ERROR:\t" + message)
|
print("ERROR:\t" + message)
|
||||||
|
|
||||||
def _extractSign(self, m):
|
def _extractSign(self, m):
|
||||||
if(m.group(1)):
|
if(m):
|
||||||
if(m.group(1) == "-"):
|
if(m == "-"):
|
||||||
return -1
|
return -1
|
||||||
else:
|
else:
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user