diff options
Diffstat (limited to 'searx/utils.py')
| -rw-r--r-- | searx/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/utils.py b/searx/utils.py index 9a08197cc..498f8d0bf 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -186,9 +186,9 @@ def get_resources_directory(searx_directory, subdirectory, resources_directory): return resources_directory -def get_themes(static_path): +def get_themes(templates_path): """Returns available themes list.""" - themes = os.listdir(os.path.join(static_path, 'themes')) + themes = os.listdir(templates_path) if '__common__' in themes: themes.remove('__common__') return themes |