mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 06:09:38 +08:00
Use sane default when CuraCloudApiVersion is not set
This commit is contained in:
parent
662dd80a1d
commit
72a7cc59ce
@ -17,6 +17,8 @@ except ImportError:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
from cura.CuraVersion import CuraCloudAPIVersion # type: ignore
|
from cura.CuraVersion import CuraCloudAPIVersion # type: ignore
|
||||||
|
if CuraCloudAPIVersion == "":
|
||||||
|
CuraCloudAPIVersion = DEFAULT_CLOUD_API_VERSION
|
||||||
except ImportError:
|
except ImportError:
|
||||||
CuraCloudAPIVersion = DEFAULT_CLOUD_API_VERSION
|
CuraCloudAPIVersion = DEFAULT_CLOUD_API_VERSION
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user