diff --git a/tabellio/searchform/cmpfunctions.py b/tabellio/searchform/cmpfunctions.py index fe522b2..9a769fe 100644 --- a/tabellio/searchform/cmpfunctions.py +++ b/tabellio/searchform/cmpfunctions.py @@ -8,7 +8,7 @@ def get_no_as_int(i): if i: if ' ' in i: try: - return int(re.match('\d+', i).group() + return int(re.match('\d+', i).group()) except ValueError: return 99999 try: