mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
linting
CURA-7038
This commit is contained in:
parent
6240522cd6
commit
2a01d5c4a6
2 changed files with 4 additions and 4 deletions
|
@ -46,14 +46,14 @@ class SubscribedPackagesModel(ListModel):
|
|||
self._items.append(package)
|
||||
self.setItems(self._items)
|
||||
|
||||
def has_compatible_packages(self):
|
||||
def hasCompatiblePackages(self):
|
||||
has_compatible_items = False
|
||||
for item in self._items:
|
||||
if item['is_compatible'] == True:
|
||||
has_compatible_items = True
|
||||
return has_compatible_items
|
||||
|
||||
def has_incompatible_packages(self):
|
||||
def hasIncompatiblePackages(self):
|
||||
has_incompatible_items = False
|
||||
for item in self._items:
|
||||
if item['is_compatible'] == False:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue