summaryrefslogtreecommitdiff
path: root/searx/webutils.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-05-07 15:11:05 +0200
committerAlexandre Flament <alex@al-f.net>2022-05-07 19:40:48 +0200
commit9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef (patch)
tree554ff67c6b84531b2a6f99505cc954395d730024 /searx/webutils.py
parent6db568bf69b7145451ff90e14da0e49fb5b6269b (diff)
downloadsearxng-9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef.tar.gz
searxng-9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef.zip
theme: remove __common__
Diffstat (limited to 'searx/webutils.py')
-rw-r--r--searx/webutils.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/searx/webutils.py b/searx/webutils.py
index 5be721eec..b18fd5c6a 100644
--- a/searx/webutils.py
+++ b/searx/webutils.py
@@ -53,10 +53,7 @@ class UnicodeWriter:
def get_themes(templates_path):
"""Returns available themes list."""
- themes = os.listdir(templates_path)
- if '__common__' in themes:
- themes.remove('__common__')
- return themes
+ return os.listdir(templates_path)
def get_hash_for_file(file: pathlib.Path) -> str: