From c9c6eb2258d8c65a8bb5450ac8ca434d28e1c7af Mon Sep 17 00:00:00 2001 From: alfrix Date: Thu, 9 May 2024 15:28:32 -0300 Subject: [PATCH] config: remove printers from theme list fixes #1363 --- ks_includes/config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ks_includes/config.py b/ks_includes/config.py index 1140e538..93b7daac 100644 --- a/ks_includes/config.py +++ b/ks_includes/config.py @@ -337,7 +337,11 @@ class KlipperScreenConfig: break t_path = os.path.join(klipperscreendir, 'styles') - themes = [d for d in os.listdir(t_path) if (not os.path.isfile(os.path.join(t_path, d)) and d != "z-bolt")] + themes = [ + d for d in os.listdir(t_path) + if (not os.path.isfile(os.path.join(t_path, d)) + and d not in ("z-bolt", "printers")) + ] themes.sort() for theme in themes: