forked from Icycoide/searxng
[enh] category specific engine deactivation - closes #205
This commit is contained in:
parent
268e0516ee
commit
1de781a143
7 changed files with 35 additions and 26 deletions
|
@ -107,7 +107,7 @@ class Query(object):
|
|||
self.engines.extend({'category': prefix,
|
||||
'name': engine.name}
|
||||
for engine in categories[prefix]
|
||||
if engine not in self.blocked_engines)
|
||||
if (engine.name, prefix) not in self.blocked_engines)
|
||||
|
||||
if query_part[0] == '!':
|
||||
self.specific = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue