Further simplify the data being sent over to the package manager

CURA-8587
This commit is contained in:
Jaime van Kessel 2021-12-16 23:21:44 +01:00
parent fa7ad7ddb1
commit 477f62916c
3 changed files with 5 additions and 6 deletions

View file

@ -635,7 +635,7 @@ class Toolbox(QObject, Extension):
elif request_type == "updates":
# Tell the package manager that there's a new set of updates available.
packages = self._server_response_data[request_type]
self._package_manager.setPackagesWithUpdate(dict(zip([p['package_id'] for p in packages], [p for p in packages])))
self._package_manager.setPackagesWithUpdate({p['package_id'] for p in packages})
self.metadataChanged.emit()