Merge pull request #88 from kajogo777/87

Fix not_values type check in __prepare_rest_search issue #87
pull/212/head
Raphaël Vinot 2017-05-19 18:35:08 +02:00 committed by GitHub
commit 699a35e507
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)