From da1ad5b9c1be80c4760877405f5d0a4a0156558a Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Mon, 14 Sep 2015 14:11:40 +0200 Subject: [PATCH] ClipManager.filter_annotations: fix 'opterator' typo (fixes #2832) --- 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 2e8105c2..f4a09f7c 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()