summaryrefslogtreecommitdiff
path: root/client/modules/app_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/modules/app_utils.py')
-rw-r--r--client/modules/app_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/modules/app_utils.py b/client/modules/app_utils.py
index 7e39cbf..68cce38 100644
--- a/client/modules/app_utils.py
+++ b/client/modules/app_utils.py
@@ -120,4 +120,4 @@ def isPositive(phrase):
Arguments:
phrase -- the input phrase to-be evaluated
"""
- return re.search(r'\b(sure|yes|yeah|go)\b', phrase, re.IGNORECASE)
+ return bool(re.search(r'\b(sure|yes|yeah|go)\b', phrase, re.IGNORECASE))