forked from Ponysearch/Ponysearch
9c10b15096
I can't set `default_doi_resolver` in `settings.yml` if I'm using `use_default_settings`. Searx seems to try to interpret all settings at root level in `settings.yml` as dict, which is correct except for `default_doi_resolver` which is at root level and a string:: File "/usr/lib/python3.9/site-packages/searx/settings_loader.py", line 125, in load_settings update_settings(default_settings, user_settings) File "/usr/lib/python3.9/site-packages/searx/settings_loader.py", line 61, in update_settings update_dict(default_settings[k], v) File "/usr/lib/python3.9/site-packages/searx/settings_loader.py", line 48, in update_dict for k, v in user_dict.items(): AttributeError: 'str' object has no attribute 'items' Signed-off-by: Markus Heiser <markus@darmarit.de> Suggested-by: @0xhtml https://github.com/searx/searx/issues/2722#issuecomment-813391659 |
||
---|---|---|
.. | ||
answerers | ||
data | ||
engines | ||
metrology | ||
plugins | ||
search | ||
shared | ||
static | ||
templates | ||
translations | ||
__init__.py | ||
autocomplete.py | ||
exceptions.py | ||
external_bang.py | ||
external_urls.py | ||
languages.py | ||
poolrequests.py | ||
preferences.py | ||
query.py | ||
raise_for_httperror.py | ||
results.py | ||
settings.yml | ||
settings_loader.py | ||
settings_robot.yml | ||
testing.py | ||
utils.py | ||
version.py | ||
webadapter.py | ||
webapp.py | ||
webutils.py |