Use package_infos to obtain the url

Contributes to CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-10 11:50:38 +01:00
parent ec8254bca9
commit 9b7731a21b
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -289,5 +289,5 @@ class PackageList(ListModel):
:param package_id: the package identification string
"""
self._manager.removePackage(package_id, force_add = True)
url = self._manager.packagesWithUpdate[package_id]["download_url"]
url = self._manager.package_infosWithUpdate[package_id]["download_url"]
self.download(package_id, url, True)