From 9a2664c4cf0ab6acdf7264fce8dabe4fe3240dea Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Fri, 11 Sep 2015 11:47:39 +0100 Subject: [PATCH 1/2] ClipManager.filter_annotations: fix 'opterator' typo --- pandora/clip/managers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/clip/managers.py b/pandora/clip/managers.py index 2e8105c..f4a09f7 100644 --- a/pandora/clip/managers.py +++ b/pandora/clip/managers.py @@ -159,7 +159,7 @@ class ClipManager(Manager): '=': '__icontains', '^': '__istartswith', '$': '__iendswith', - }.get(condition.get('opterator', ''), '__icontains')) + }.get(condition.get('operator', ''), '__icontains')) v = condition['value'] if isinstance(v, unicode): v = unicodedata.normalize('NFKD', v).lower() -- 2.4.3