mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Added missing tests for peripheral
Not part of the ticket, but I'm boyscouting this.
This commit is contained in:
parent
73c6676673
commit
34c3a04744
2 changed files with 23 additions and 1 deletions
|
@ -304,7 +304,7 @@ class PrinterOutputModel(QObject):
|
|||
|
||||
@pyqtProperty(str, notify = peripheralsChanged)
|
||||
def peripherals(self) -> str:
|
||||
return ", ".join(*[peripheral.name for peripheral in self._peripherals])
|
||||
return ", ".join([peripheral.name for peripheral in self._peripherals])
|
||||
|
||||
def addPeripheral(self, peripheral: Peripheral) -> None:
|
||||
self._peripherals.append(peripheral)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue