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
@ -255,7 +255,7 @@ def is_engine_active(engine: Engine):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
# exclude onion engines if not using tor
|
# 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 False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user