[mod] searx.RawTextQuery: the constructor call parse_query

This commit is contained in:
Alexandre Flament 2020-09-09 12:17:58 +02:00
parent 2370234d09
commit df12ed6e55
4 changed files with 2 additions and 12 deletions

View file

@ -45,10 +45,11 @@ class RawTextQuery:
self.timeout_limit = None
self.external_bang = None
self.specific = False
self._parse_query()
# parse query, if tags are set, which
# change the search engine or search-language
def parse_query(self):
def _parse_query(self):
self.query_parts = []
# split query, including whitespaces