mirror of https://github.com/MISP/PyMISP
Fix not_values type check in __prepare_rest_search
parent
a7892c03ff
commit
0bdef56001
|
@ -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