mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Allow 'using_tor_proxy' to be set for each engine individually
Check 'using_tor_proxy' for each engine individually instead of checking globally
This commit is contained in:
parent
96a1f79c6d
commit
b91cc7e0ae
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ def is_engine_active(engine: Engine):
|
|||
return False
|
||||
|
||||
# exclude onion engines if not using tor
|
||||
if 'onions' in engine.categories and not settings['outgoing'].get('using_tor_proxy'):
|
||||
if 'onions' in engine.categories and not engine.using_tor_proxy:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue