mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-03 12:03:57 -06:00
Only check for updates when logged in
Contributes to: CURA-8587
This commit is contained in:
parent
863e92d0d2
commit
2d9c557a13
1 changed files with 8 additions and 7 deletions
|
@ -65,6 +65,7 @@ class LocalPackageList(PackageList):
|
|||
return package
|
||||
|
||||
def checkForUpdates(self, packages: List[Dict[str, Any]]):
|
||||
if self._account.isLoggedIn:
|
||||
installed_packages = "installed_packages=".join([f"{package['package_id']}:{package['package_version']}&" for package in packages])
|
||||
request_url = f"{PACKAGE_UPDATES_URL}?installed_packages={installed_packages[:-1]}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue