Fix code style

This commit is contained in:
fieldOfView 2018-03-15 11:27:48 +01:00
parent 2686090494
commit 584f98cb07
2 changed files with 2 additions and 4 deletions

View file

@ -20,7 +20,7 @@ class ExtruderOutputModel(QObject):
extruderConfigurationChanged = pyqtSignal()
isPreheatingChanged = pyqtSignal()
def __init__(self, printer: "PrinterOutputModel", position: int, parent=None):
def __init__(self, printer: "PrinterOutputModel", position, parent=None):
super().__init__(parent)
self._printer = printer
self._position = position
@ -98,6 +98,7 @@ class ExtruderOutputModel(QObject):
if self._extruder_configuration.isValid():
return self._extruder_configuration
return None
def updateIsPreheating(self, pre_heating):
if self._is_preheating != pre_heating:
self._is_preheating = pre_heating