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:
Léon Tiekötter 2022-01-20 17:23:05 +01:00
parent 96a1f79c6d
commit b91cc7e0ae

View file

@ -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