Browse Source

Add typing to function argument

CURA-9277

Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>

Casper Lamboo 2 years ago
parent
commit
6253fb2fdc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Machines/Models/MachineListModel.py

+ 1 - 1
cura/Machines/Models/MachineListModel.py

@@ -131,7 +131,7 @@ class MachineListModel(ListModel):
         for stack in other_machine_stacks:
             self.addItem(stack, False)
 
-    def addItem(self, container_stack: ContainerStack, is_online, machine_count: int = 0) -> None:
+    def addItem(self, container_stack: ContainerStack, is_online: bool, machine_count: int = 0) -> None:
         if parseBool(container_stack.getMetaDataEntry("hidden", False)):
             return