mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Fix mypy issues
CURA-7418
This commit is contained in:
parent
f6e9bc7c3c
commit
c58ef1b531
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue