summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/reporting.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyfirstaidkit/reporting.py')
-rw-r--r--pyfirstaidkit/reporting.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyfirstaidkit/reporting.py b/pyfirstaidkit/reporting.py
index 21a4b45..ea133a1 100644
--- a/pyfirstaidkit/reporting.py
+++ b/pyfirstaidkit/reporting.py
@@ -20,6 +20,7 @@ import logging
import thread
import weakref
import re
+import time
from errors import *
@@ -87,7 +88,7 @@ class ConfigQuestion(Question):
self.title = title
self.description = description
self.items = map(lambda x: (x[0], x[1], x[2], x[3],
- re.compile("^"+x[4]+"$"), x[5]), items)
+ re.compile("^("+x[4]+")$"), x[5]), items)
class ChoiceQuestion(Question):
"""A question that offers multiple options.