But who fixes the fixer? (#3462)

This commit is contained in:
Oliver 2022-08-03 15:23:43 +10:00 committed by GitHub
parent 9ca0d6b0a9
commit a59ac63de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1782,7 +1782,7 @@ class ColorTheme(models.Model):
files_list = []
for file in settings.STATIC_COLOR_THEMES_DIR.iterdir():
files_list.append(file.stem)
files_list.append([file.stem, file.suffix])
# Get color themes choices (CSS sheets)
choices = [(file_name.lower(), _(file_name.replace('-', ' ').title()))