mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 23:49:11 +08:00
Use package_infos to obtain the url
Contributes to CURA-8587
This commit is contained in:
parent
ec8254bca9
commit
9b7731a21b
@ -289,5 +289,5 @@ class PackageList(ListModel):
|
|||||||
:param package_id: the package identification string
|
:param package_id: the package identification string
|
||||||
"""
|
"""
|
||||||
self._manager.removePackage(package_id, force_add = True)
|
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)
|
self.download(package_id, url, True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user