mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
But who fixes the fixer? (#3462)
This commit is contained in:
parent
9ca0d6b0a9
commit
a59ac63de4
@ -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()))
|
||||
|
Loading…
Reference in New Issue
Block a user