mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Unsubscribe from package when a license is declined (cloud flow)
CURA-6984
This commit is contained in:
parent
0e5654e44b
commit
4e8534b93b
3 changed files with 14 additions and 2 deletions
|
@ -83,8 +83,7 @@ class SyncOrchestrator(Extension):
|
|||
self._cloud_package_manager.subscribe(item["package_id"])
|
||||
has_changes = True
|
||||
else:
|
||||
# todo unsubscribe declined packages
|
||||
pass
|
||||
self._cloud_package_manager.unsubscribe(item["package_id"])
|
||||
# delete temp file
|
||||
os.remove(item["package_path"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue