mirror of
https://github.com/searxng/searxng.git
synced 2024-12-27 11:40:29 +00:00
[fix] assign the correct variable in query.py - fixes #1253
This commit is contained in:
parent
0cb55ddfde
commit
fb2dba4762
1 changed files with 2 additions and 2 deletions
|
@ -118,9 +118,9 @@ class RawTextQuery(object):
|
|||
elif prefix in engines:
|
||||
parse_next = True
|
||||
if prefix in engines:
|
||||
for engine_category in engines[engine_name].categories:
|
||||
for engine_category in engines[prefix].categories:
|
||||
self.engines.append({'category': engine_category,
|
||||
'name': engine_name,
|
||||
'name': prefix,
|
||||
'from_bang': True})
|
||||
|
||||
# check if prefix is equal with categorie name
|
||||
|
|
Loading…
Reference in a new issue