diff --git a/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py b/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py index 999bc15223..dbc9f12974 100644 --- a/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py +++ b/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py @@ -13,6 +13,7 @@ from PyQt5.QtGui import QDesktopServices from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkReply from PyQt5.QtQml import QQmlComponent, QQmlContext from UM.Application import Application +from UM.Decorators import override from UM.Logger import Logger from UM.Message import Message from UM.OutputDevice import OutputDeviceError @@ -114,15 +115,19 @@ class NetworkClusterPrinterOutputDevice(NetworkPrinterOutputDevice.NetworkPrinte ## No authentication, so requestAuthentication should do exactly nothing @pyqtSlot() + @override(NetworkPrinterOutputDevice) def requestAuthentication(self, message_id = None, action_id = "Retry"): - Logger.log("d", "requestAuthentication for Cura Connect - nothing to be done") + pass # Cura Connect doesn't do any authorization + @override(NetworkPrinterOutputDevice) def setAuthenticationState(self, auth_state): self._authentication_state = NetworkPrinterOutputDevice.AuthState.Authenticated # The printer is always authenticated + @override(NetworkPrinterOutputDevice) def _verifyAuthentication(self): pass + @override(NetworkPrinterOutputDevice) def _checkAuthentication(self): Logger.log("d", "_checkAuthentication Cura Connect - nothing to be done")