screen: lint fix

This commit is contained in:
alfrix committed 2022-03-01 17:24:27 -03:00
1 parent 9b819f6a45
commit 5c42c53ee8
1 file changed
-12
-12
View File
@@ -242,18 +242,6 @@ class KlipperScreen(Gtk.Window):
if powerdevs is not False:
self.printer.configure_power_devices(powerdevs['result'])
self.panels['splash_screen'].show_restart_buttons()
# Printer auto power on during initial connect
# it should be manual on reinit because the user could be turning it off on purpose
#devices = self.printer.get_power_devices()
#for device in devices:
#if name == device:
#logging.info("Found %s in power devices", name)
#if self.printer.get_power_device_status(device) == "off":
#logging.info("Printer is OFF, sending Power ON")
#self._ws.klippy.power_device_on(device)
#break
#else:
#logging.info("%s not found in power devices", name)
self.files = KlippyFiles(self)
self._ws.initial_connect()