mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
PrinterOutputDevice now uses safer super().__init
CURA-1339
This commit is contained in:
parent
0939262ffe
commit
96e821cc3d
1 changed files with 1 additions and 2 deletions
|
@ -15,8 +15,7 @@ from UM.Logger import Logger
|
||||||
# For all other uses it should be used in the same way as a "regular" OutputDevice.
|
# For all other uses it should be used in the same way as a "regular" OutputDevice.
|
||||||
class PrinterOutputDevice(OutputDevice, QObject):
|
class PrinterOutputDevice(OutputDevice, QObject):
|
||||||
def __init__(self, device_id, parent = None):
|
def __init__(self, device_id, parent = None):
|
||||||
QObject.__init__(self, parent)
|
super().__init__(device_id = device_id, parent = parent)
|
||||||
OutputDevice.__init__(self, device_id)
|
|
||||||
|
|
||||||
self._target_bed_temperature = 0
|
self._target_bed_temperature = 0
|
||||||
self._bed_temperature = 0
|
self._bed_temperature = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue