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 += '&&!'
|
to_return += '&&!'
|
||||||
else:
|
else:
|
||||||
to_return += '!'
|
to_return += '!'
|
||||||
if not isinstance(values, list):
|
if not isinstance(not_values, list):
|
||||||
to_return += not_values
|
to_return += not_values
|
||||||
else:
|
else:
|
||||||
to_return += '&&!'.join(not_values)
|
to_return += '&&!'.join(not_values)
|
||||||
|
|
Loading…
Reference in New Issue