summaryrefslogtreecommitdiff
path: root/searx/settings_loader.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 17:01:00 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 18:32:14 +0200
commitba8959ad7c18ce4165d29b7a472d845bd96f4735 (patch)
tree70da2e25a94588348fd5e66890a4a9fceb9e1ff2 /searx/settings_loader.py
parent94c4cc126b16d4cd1653c410df63af4bc0a4e998 (diff)
downloadsearxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.tar.gz
searxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.zip
[fix] typos / reported by @kianmeng in searx PR-3366
[PR-3366] https://github.com/searx/searx/pull/3366 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings_loader.py')
-rw-r--r--searx/settings_loader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/settings_loader.py b/searx/settings_loader.py
index 0a6ec9080..777b25171 100644
--- a/searx/settings_loader.py
+++ b/searx/settings_loader.py
@@ -121,10 +121,10 @@ def is_use_default_settings(user_settings):
raise ValueError('Invalid value for use_default_settings')
-def load_settings(load_user_setttings=True):
+def load_settings(load_user_settings=True):
default_settings_path = get_default_settings_path()
user_settings_path = get_user_settings_path()
- if user_settings_path is None or not load_user_setttings:
+ if user_settings_path is None or not load_user_settings:
# no user settings
return (load_yaml(default_settings_path), 'load the default settings from {}'.format(default_settings_path))
@@ -136,7 +136,7 @@ def load_settings(load_user_setttings=True):
update_settings(default_settings, user_settings)
return (
default_settings,
- 'merge the default settings ( {} ) and the user setttings ( {} )'.format(
+ 'merge the default settings ( {} ) and the user settings ( {} )'.format(
default_settings_path, user_settings_path
),
)