From c58ef1b53105df2bc194c4c6283514cf9e06b000 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 15 Jun 2020 14:20:34 +0200 Subject: [PATCH] Fix mypy issues CURA-7418 --- cura/CuraApplication.py | 2 +- cura/UltimakerCloud/UltimakerCloudConstants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: