mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +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:
|
||||
from cura.CuraVersion import CuraCloudAPIVersion # type: ignore
|
||||
if CuraCloudAPIVersion == "":
|
||||
CuraCloudAPIVersion = DEFAULT_CLOUD_API_VERSION
|
||||
except ImportError:
|
||||
CuraCloudAPIVersion = DEFAULT_CLOUD_API_VERSION
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user