Update code example according to new changes

This commit is contained in:
Kit 2018-01-08 03:45:56 +01:00
parent 7ec0956e8d
commit db6e4ba72e
No known key found for this signature in database
GPG Key ID: E9B25746C2EADBA0
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ p
num, denom = text.split('/') num, denom = text.split('/')
if num.isdigit() and denom.isdigit(): if num.isdigit() and denom.isdigit():
return True return True
if text in _num_words: if text.lower() in _num_words:
return True return True
return False return False