forked from Icycoide/searxng
[mod] move all default settings into searx.settings_defaults
This commit is contained in:
parent
856729226d
commit
4b07df62e5
9 changed files with 249 additions and 156 deletions
|
@ -144,7 +144,7 @@ def load_engine(engine_data):
|
|||
# exclude onion engines if not using tor.
|
||||
return None
|
||||
|
||||
engine.timeout += settings['outgoing'].get('extra_proxy_timeout', 0)
|
||||
engine.timeout += settings['outgoing']['extra_proxy_timeout']
|
||||
|
||||
for category_name in engine.categories:
|
||||
categories.setdefault(category_name, []).append(engine)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue