diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-10-27 07:08:28 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-28 12:51:05 +0100 |
commit | da28f5280b8f5cac79963e10c79ddc2a3e65f93a (patch) | |
tree | 6b758a49fae78d9e4063b4bf9cf8be9020e83f0d /searx/plugins/calculator.py | |
parent | 543ab92fde232fdda7407fa1123ce9378c795bc3 (diff) | |
download | searxng-da28f5280b8f5cac79963e10c79ddc2a3e65f93a.tar.gz searxng-da28f5280b8f5cac79963e10c79ddc2a3e65f93a.zip |
[fix] limiter: don't hard code settings folder to /etc/searxng
The location of the local settings depends on environment ``SEARXNG_SETTINGS_PATH``
and can be different from ``/etc/searxng``. Issue was reported on Matrix [1].
To get the location function ``searx.settings_loader.get_user_cfg_folder()``
should be used.
[1] https://matrix.to/#/!vxScbLNEAmRvOraXBn:matrix.org/$_eLS0JpE9oVEWsiGJkqJnWcFWEeZClIMGDK6cWv_Q4g?via=matrix.org&via=tchncs.de&via=envs.net
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/plugins/calculator.py')
0 files changed, 0 insertions, 0 deletions