diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 90197f8037..dfb5c6cac1 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -264,7 +264,7 @@ class CuraApplication(QtApplication): @pyqtProperty(str, constant=True) def ultimakerDigitalFactoryUrl(self) -> str: - return UltimakerCloudAuthentication.CuraDigitalFactoryURL + return UltimakerCloudConstants.CuraDigitalFactoryURL def addCommandLineOptions(self): """Adds command line options to the command line parser. diff --git a/cura/UltimakerCloud/UltimakerCloudConstants.py b/cura/UltimakerCloud/UltimakerCloudConstants.py index f3f862b689..8c95817ccf 100644 --- a/cura/UltimakerCloud/UltimakerCloudConstants.py +++ b/cura/UltimakerCloud/UltimakerCloudConstants.py @@ -35,7 +35,7 @@ except ImportError: CuraCloudAccountAPIRoot = DEFAULT_CLOUD_ACCOUNT_API_ROOT try: - from cura.CuraVersion import CuraDigitalFactoryURL + from cura.CuraVersion import CuraDigitalFactoryURL # type: ignore if CuraDigitalFactoryURL == "": CuraDigitalFactoryURL = DEFAULT_DIGITAL_FACTORY_URL except ImportError: