summaryrefslogtreecommitdiff
path: root/searx/webutils.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-05-28 18:45:22 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-01 08:10:15 +0200
commit4b07df62e5906e98315e9e856db8f39b2f28f36e (patch)
tree8ab5a8d8e012aabfe55d01f3157ec7bff897c8d3 /searx/webutils.py
parent856729226d5822a3285483689f9f8ba5c2bafc07 (diff)
downloadsearxng-4b07df62e5906e98315e9e856db8f39b2f28f36e.tar.gz
searxng-4b07df62e5906e98315e9e856db8f39b2f28f36e.zip
[mod] move all default settings into searx.settings_defaults
Diffstat (limited to 'searx/webutils.py')
-rw-r--r--searx/webutils.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/searx/webutils.py b/searx/webutils.py
index 2464a097f..c27324908 100644
--- a/searx/webutils.py
+++ b/searx/webutils.py
@@ -47,14 +47,6 @@ class UnicodeWriter:
self.writerow(row)
-def get_resources_directory(searx_directory, subdirectory, resources_directory):
- if not resources_directory:
- resources_directory = os.path.join(searx_directory, subdirectory)
- if not os.path.isdir(resources_directory):
- raise Exception(resources_directory + " is not a directory")
- return resources_directory
-
-
def get_themes(templates_path):
"""Returns available themes list."""
themes = os.listdir(templates_path)