Browse Source

Add type hinting

ChrisTerBeke 7 years ago
parent
commit
01b8bd60bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/PrinterOutput/PrinterOutputModel.py

+ 1 - 1
cura/PrinterOutput/PrinterOutputModel.py

@@ -91,7 +91,7 @@ class PrinterOutputModel(QObject):
         self._controller.homeBed(self)
 
     @pyqtSlot(str)
-    def sendCustomCommand(self, command):
+    def sendCustomCommand(self, command: str):
         self._controller.sendCustomCommand(self, command)
 
     @pyqtProperty("QVariantList", constant = True)