mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +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 = []
|
files_list = []
|
||||||
|
|
||||||
for file in settings.STATIC_COLOR_THEMES_DIR.iterdir():
|
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)
|
# Get color themes choices (CSS sheets)
|
||||||
choices = [(file_name.lower(), _(file_name.replace('-', ' ').title()))
|
choices = [(file_name.lower(), _(file_name.replace('-', ' ').title()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user