theme: remove __common__

This commit is contained in:
Alexandre Flament
2022-05-07 15:11:05 +02:00
parent 6db568bf69
commit 9b3efa6d8a
25 changed files with 141 additions and 588 deletions

View File

@@ -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: