From 77dc6a2fc879019d42cf8f39351b3723edec3c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 5 Jun 2012 12:36:47 +0200 Subject: [PATCH] add missing parenthesis --- tabellio/searchform/cmpfunctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: