mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 00:55:59 +08:00
Fixed double items in getAllLocalPackages
Contributes to: CURA-8587
This commit is contained in:
parent
305fb4ab09
commit
a51b29cdf6
@ -70,7 +70,7 @@ class CuraPackageManager(PackageManager):
|
|||||||
def __init__(self, package_info):
|
def __init__(self, package_info):
|
||||||
self._info = package_info
|
self._info = package_info
|
||||||
|
|
||||||
def __contains__(self, item):
|
def __eq__(self, item):
|
||||||
return item == self._info["package_id"]
|
return item == self._info["package_id"]
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user