Update consoleUI.py - Del regex from extractSign

This commit is contained in:
Etoh 2012-12-27 14:24:33 +00:00
parent 8d2b9a04cf
commit 3d5112fa1d
1 changed files with 2 additions and 2 deletions

View File

@ -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