Only perform materials-sync-job for capable printers.

part of CURA-8671
This commit is contained in:
Remco Burema 2021-12-02 12:22:55 +01:00
parent 95f0b692a6
commit 1253b41537
No known key found for this signature in database
GPG key ID: 215C49431D43F98C
3 changed files with 14 additions and 1 deletions

View file

@ -13,6 +13,9 @@ DEFAULT_DIGITAL_FACTORY_URL = "https://digitalfactory.ultimaker.com" # type: st
META_UM_LINKED_TO_ACCOUNT = "um_linked_to_account"
"""(bool) Whether a cloud printer is linked to an Ultimaker account"""
META_CAPABILITIES = "capabilities"
"""(list[str]) a list of capabilities this printer supports"""
try:
from cura.CuraVersion import CuraCloudAPIRoot # type: ignore
if CuraCloudAPIRoot == "":