mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:48:59 +08:00
Merge pull request #7707 from Ultimaker/CURA-7245_fix_bundled_package_sync
CURA-7245_fix_bundled_package_sync
This commit is contained in:
commit
0bcb3348da
@ -75,8 +75,8 @@ class CloudPackageChecker(QObject):
|
|||||||
Logger.log("w", "Received invalid JSON for user subscribed packages from the Web Marketplace")
|
Logger.log("w", "Received invalid JSON for user subscribed packages from the Web Marketplace")
|
||||||
|
|
||||||
def _handleCompatibilityData(self, subscribed_packages_payload: List[Dict[str, Any]]) -> None:
|
def _handleCompatibilityData(self, subscribed_packages_payload: List[Dict[str, Any]]) -> None:
|
||||||
user_subscribed_packages = [plugin["package_id"] for plugin in subscribed_packages_payload]
|
user_subscribed_packages = {plugin["package_id"] for plugin in subscribed_packages_payload}
|
||||||
user_installed_packages = self._package_manager.getUserInstalledPackages()
|
user_installed_packages = self._package_manager.getAllInstalledPackageIDs()
|
||||||
|
|
||||||
# We need to re-evaluate the dismissed packages
|
# We need to re-evaluate the dismissed packages
|
||||||
# (i.e. some package might got updated to the correct SDK version in the meantime,
|
# (i.e. some package might got updated to the correct SDK version in the meantime,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user