mirror of https://github.com/MISP/PyMISP
Merge pull request #88 from kajogo777/87
Fix not_values type check in __prepare_rest_search issue #87pull/212/head
commit
699a35e507
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue