Made sendMaterialProfiles protected

CL-541
This commit is contained in:
Jaime van Kessel 2017-12-19 17:24:30 +01:00
parent 89004b8df5
commit 37461a7934

View file

@ -138,7 +138,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
self._authentication_timer.stop()
## Send all material profiles to the printer.
def sendMaterialProfiles(self):
def _sendMaterialProfiles(self):
Logger.log("i", "Sending material profiles to printer")
# TODO: Might want to move this to a job...
@ -410,7 +410,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
elif status_code == 200:
self.setAuthenticationState(AuthState.Authenticated)
# Now we know for sure that we are authenticated, send the material profiles to the machine.
self.sendMaterialProfiles()
self._sendMaterialProfiles()
def _checkAuthentication(self):
Logger.log("d", "Checking if authentication is correct for id %s and key %s", self._authentication_id, self._getSafeAuthKey())