mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
Use sane default when CuraCloudApiVersion is not set
This commit is contained in:
parent
662dd80a1d
commit
72a7cc59ce
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue