mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Make connection types list ints
Contributes to CL-1331
This commit is contained in:
parent
02cb41e007
commit
59eb9bbab1
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue