From 0bdef56001ecd593d43283231f4ab6a55ad98a19 Mon Sep 17 00:00:00 2001 From: George Date: Fri, 19 May 2017 18:19:21 +0200 Subject: [PATCH] Fix not_values type check in __prepare_rest_search --- pymisp/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/api.py b/pymisp/api.py index 551cbe4..3b1d75c 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -864,7 +864,7 @@ class PyMISP(object): to_return += '&&!' else: to_return += '!' - if not isinstance(values, list): + if not isinstance(not_values, list): to_return += not_values else: to_return += '&&!'.join(not_values)