hm
This commit is contained in:
parent
9a5030cd8c
commit
387527eabc
@ -7,7 +7,11 @@ def is_number(test):
|
||||
|
||||
result = re.match(pattern, test)
|
||||
if result:
|
||||
return test.split(' ')[-1]
|
||||
test = test.split(' ')
|
||||
if len(test[0]) < 2 or len(test[0]) < 2:
|
||||
return "<NONE>"
|
||||
else:
|
||||
return test[1]
|
||||
else:
|
||||
return "<NONE>"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user