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