config: remove printers from theme list fixes #1363
This commit is contained in:
parent
03a99ded92
commit
c9c6eb2258
@ -337,7 +337,11 @@ class KlipperScreenConfig:
|
|||||||
break
|
break
|
||||||
|
|
||||||
t_path = os.path.join(klipperscreendir, 'styles')
|
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()
|
themes.sort()
|
||||||
|
|
||||||
for theme in themes:
|
for theme in themes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user