Browse Source

Merge branch 'master' of github.com:Ultimaker/Cura

Jaime van Kessel 5 years ago
parent
commit
261ecfacc1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/Toolbox/src/SubscribedPackagesModel.py

+ 2 - 2
plugins/Toolbox/src/SubscribedPackagesModel.py

@@ -46,14 +46,14 @@ class SubscribedPackagesModel(ListModel):
             self._items.append(package)
         self.setItems(self._items)
 
-    def hasCompatiblePackages(self):
+    def hasCompatiblePackages(self) -> bool:
         has_compatible_items  = False
         for item in self._items:
             if item['is_compatible'] == True:
                 has_compatible_items = True
         return has_compatible_items
 
-    def hasIncompatiblePackages(self):
+    def hasIncompatiblePackages(self) -> bool:
         has_incompatible_items  = False
         for item in self._items:
             if item['is_compatible'] == False: