mirror of https://github.com/Syncplay/syncplay
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)
|
||||
|
||||
def _extractSign(self, m):
|
||||
if(m.group(1)):
|
||||
if(m.group(1) == "-"):
|
||||
if(m):
|
||||
if(m == "-"):
|
||||
return -1
|
||||
else:
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue