From 59eb9bbab197a1dc396ae012102864637bdcdc88 Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Wed, 15 May 2019 10:47:25 +0200 Subject: [PATCH] Make connection types list ints Contributes to CL-1331 --- cura/API/Machines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/API/Machines.py b/cura/API/Machines.py index 814193c835..79b1402aae 100644 --- a/cura/API/Machines.py +++ b/cura/API/Machines.py @@ -7,7 +7,7 @@ from UM.i18n import i18nCatalog from UM.Logger import Logger if TYPE_CHECKING: from cura.CuraApplication import CuraApplication - from cura.PrinterOutput.PrinterOutputDevice import PrinterOutputDevice, ConnectionType + from cura.PrinterOutput.PrinterOutputDevice import PrinterOutputDevice i18n_catalog = i18nCatalog("cura") @@ -29,7 +29,7 @@ class Machine(): self.group_name = "" # type: str self.um_network_key = "" # type: str self.configuration = {} # type: Dict[str, any] - self.connection_types = [] # type: List["ConnectionType"] + self.connection_types = [] # type: List[int] class Machines(QObject):