Remove absolute plugin imports, some fixes

This commit is contained in:
ChrisTerBeke 2019-07-29 16:11:01 +02:00
parent 7d69b1727d
commit ddd282eef3
16 changed files with 67 additions and 62 deletions

View file

@ -6,8 +6,8 @@ from cura.CuraApplication import CuraApplication
from UM.OutputDevice.OutputDeviceManager import ManualDeviceAdditionAttempt
from UM.OutputDevice.OutputDevicePlugin import OutputDevicePlugin
from plugins.UM3NetworkPrinting.src.Network.NetworkOutputDeviceManager import NetworkOutputDeviceManager
from .Network.NetworkOutputDeviceManager import NetworkOutputDeviceManager
from .Cloud.CloudOutputDeviceManager import CloudOutputDeviceManager
@ -73,16 +73,6 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
def removeManualDevice(self, key: str, address: Optional[str] = None) -> None:
self._network_output_device_manager.removeManualDevice(key, address)
# ## Get the last manual device attempt.
# # Used by the DiscoverUM3Action.
# def getLastManualDevice(self) -> str:
# return self._network_output_device_manager.getLastManualDevice()
# ## Reset the last manual device attempt.
# # Used by the DiscoverUM3Action.
# def resetLastManualDevice(self) -> None:
# self._network_output_device_manager.resetLastManualDevice()
# ## Check if the prerequsites are in place to start the cloud flow
# def checkCloudFlowIsPossible(self, cluster: Optional[CloudOutputDevice]) -> None:
# Logger.log("d", "Checking if cloud connection is possible...")