Kostas Karmas 4 лет назад
Родитель
Сommit
f677be14c2
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      cura/Machines/Models/GlobalStacksModel.py

+ 2 - 2
cura/Machines/Models/GlobalStacksModel.py

@@ -21,7 +21,7 @@ class GlobalStacksModel(ListModel):
     DiscoverySourceRole = Qt.UserRole + 6  # For separating local and remote printers in the machine management page
     RemovalWarningRole = Qt.UserRole + 7
 
-    def __init__(self, parent=None) -> None:
+    def __init__(self, parent = None) -> None:
         super().__init__(parent)
 
         self._catalog = i18nCatalog("cura")
@@ -55,7 +55,7 @@ class GlobalStacksModel(ListModel):
     def _update(self) -> None:
         items = []
 
-        container_stacks = CuraContainerRegistry.getInstance().findContainerStacks(type="machine")
+        container_stacks = CuraContainerRegistry.getInstance().findContainerStacks(type = "machine")
         for container_stack in container_stacks:
             has_remote_connection = False