printer_select: do not sort, this allows the users to sort how they want by defining them in the config in the order they want

This commit is contained in:
alfrix committed 2023-12-17 10:24:26 -03:00
1 parent a79016ae6e
commit 1f43391b2c
1 file changed
+1 -1
+1 -1
View File
@@ -85,7 +85,7 @@ class KlipperScreenConfig:
logging.exception(msg)
self.errors.append(msg)
printers = sorted([i for i in self.config.sections() if i.startswith("printer ")])
printers = [i for i in self.config.sections() if i.startswith("printer ")]
if len(printers) == 0:
printers.append("Printer Printer")
self.printers = [