Make connection types list ints

Contributes to CL-1331
This commit is contained in:
Ian Paschal 2019-05-15 10:47:25 +02:00
parent 02cb41e007
commit 59eb9bbab1

View file

@ -7,7 +7,7 @@ from UM.i18n import i18nCatalog
from UM.Logger import Logger from UM.Logger import Logger
if TYPE_CHECKING: if TYPE_CHECKING:
from cura.CuraApplication import CuraApplication from cura.CuraApplication import CuraApplication
from cura.PrinterOutput.PrinterOutputDevice import PrinterOutputDevice, ConnectionType from cura.PrinterOutput.PrinterOutputDevice import PrinterOutputDevice
i18n_catalog = i18nCatalog("cura") i18n_catalog = i18nCatalog("cura")
@ -29,7 +29,7 @@ class Machine():
self.group_name = "" # type: str self.group_name = "" # type: str
self.um_network_key = "" # type: str self.um_network_key = "" # type: str
self.configuration = {} # type: Dict[str, any] self.configuration = {} # type: Dict[str, any]
self.connection_types = [] # type: List["ConnectionType"] self.connection_types = [] # type: List[int]
class Machines(QObject): class Machines(QObject):