Fix not_values type check in __prepare_rest_search

pull/88/head
George 2017-05-19 18:19:21 +02:00
parent a7892c03ff
commit 0bdef56001
1 changed files with 1 additions and 1 deletions

View File

@ -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)