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:
parent
a79016ae6e
commit
1f43391b2c
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user