aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/BehaviorQuerySystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/BehaviorQuerySystem.py b/util/BehaviorQuerySystem.py
index 5399435..643b95c 100644
--- a/util/BehaviorQuerySystem.py
+++ b/util/BehaviorQuerySystem.py
@@ -16,7 +16,7 @@ def query(predicateList):
#want to do queries wrt: behavior itself, the behavior packet, the querying behavior
if isinstance(predicateList, types.FunctionType):
predicateList = [predicateList]
- elif not isinstance(prediateList, list):
+ elif not isinstance(predicateList, list):
raise Exception('Predicate list must be a function or list of functions')
global behaviorList, initialized
ret = []