Unapply the @override decorator as it doesn't actually work

CL-228
This commit is contained in:
Simon Edwards 2017-10-02 17:12:15 +02:00
parent b5b3f47e4d
commit 6dade56758

View file

@ -115,19 +115,15 @@ class NetworkClusterPrinterOutputDevice(NetworkPrinterOutputDevice.NetworkPrinte
## No authentication, so requestAuthentication should do exactly nothing
@pyqtSlot()
@override(NetworkPrinterOutputDevice)
def requestAuthentication(self, message_id = None, action_id = "Retry"):
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")