CURA-5330 Add return type to some constructors

This commit is contained in:
Diego Prado Gesto 2018-06-13 11:01:30 +02:00
parent 6e364f0895
commit f1b0c6238f
4 changed files with 4 additions and 4 deletions

View file

@ -224,5 +224,5 @@ class PrinterOutputDevice(QObject, OutputDevice):
## Get the name of device firmware
#
# This name can be used to define device type
def getFirmwareName(self) -> str:
def getFirmwareName(self) -> Optional[str]:
return self._firmware_name