mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
Fix circular import.
CURA-9277
This commit is contained in:
parent
5884aa3311
commit
c80dd62169
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from UM.Settings.ContainerStack import ContainerStack
|
from UM.Settings.ContainerStack import ContainerStack
|
||||||
from cura.CuraApplication import CuraApplication
|
|
||||||
from cura.PrinterOutput.PrinterOutputDevice import ConnectionType
|
from cura.PrinterOutput.PrinterOutputDevice import ConnectionType
|
||||||
from cura.Settings.GlobalStack import GlobalStack
|
from cura.Settings.GlobalStack import GlobalStack
|
||||||
from UM.MimeTypeDatabase import MimeType, MimeTypeDatabase
|
from UM.MimeTypeDatabase import MimeType, MimeTypeDatabase
|
||||||
|
@ -16,6 +15,8 @@ class AbstractMachine(GlobalStack):
|
||||||
self.setMetaDataEntry("type", "abstract_machine")
|
self.setMetaDataEntry("type", "abstract_machine")
|
||||||
|
|
||||||
def getMachines(self) -> List[ContainerStack]:
|
def getMachines(self) -> List[ContainerStack]:
|
||||||
|
from cura.CuraApplication import CuraApplication
|
||||||
|
|
||||||
application = CuraApplication.getInstance()
|
application = CuraApplication.getInstance()
|
||||||
registry = application.getContainerRegistry()
|
registry = application.getContainerRegistry()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue