From a59ac63de47043d5bf9960bb34c6fa0b6a3e899c Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 3 Aug 2022 15:23:43 +1000 Subject: [PATCH] But who fixes the fixer? (#3462) --- InvenTree/common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index e9ea5c181f..1c9817b262 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -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()))