mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
theme: remove __common__
This commit is contained in:
parent
6db568bf69
commit
9b3efa6d8a
25 changed files with 141 additions and 588 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue