mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[mod] change settings file structure according to #314
This commit is contained in:
parent
d0830d4edf
commit
1fcf066a81
7 changed files with 46 additions and 34 deletions
|
@ -75,7 +75,7 @@ def load_engine(engine_data):
|
|||
engine.safesearch = False
|
||||
|
||||
if not hasattr(engine, 'timeout'):
|
||||
engine.timeout = settings['server']['request_timeout']
|
||||
engine.timeout = settings['outgoing']['request_timeout']
|
||||
|
||||
if not hasattr(engine, 'shortcut'):
|
||||
engine.shortcut = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue