Skip to content

Commit

Permalink
Remove crazy replace
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Nov 24, 2016
1 parent e1b5000 commit 7b5b451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymisp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,8 @@ def search(self, values=None, not_values=None, type_attribute=None,
:param metadata: return onlymetadata if True
"""
val = self.__prepare_rest_search(values, not_values).replace('/', '|')
tag = self.__prepare_rest_search(tags, not_tags).replace(':', ';')
val = self.__prepare_rest_search(values, not_values)
tag = self.__prepare_rest_search(tags, not_tags)
query = {}
if len(val) != 0:
query['value'] = val
Expand Down

0 comments on commit 7b5b451

Please sign in to comment.