mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Made sendMaterialProfiles protected
CL-541
This commit is contained in:
parent
89004b8df5
commit
37461a7934
1 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
|
||||||
self._authentication_timer.stop()
|
self._authentication_timer.stop()
|
||||||
|
|
||||||
## Send all material profiles to the printer.
|
## Send all material profiles to the printer.
|
||||||
def sendMaterialProfiles(self):
|
def _sendMaterialProfiles(self):
|
||||||
Logger.log("i", "Sending material profiles to printer")
|
Logger.log("i", "Sending material profiles to printer")
|
||||||
|
|
||||||
# TODO: Might want to move this to a job...
|
# TODO: Might want to move this to a job...
|
||||||
|
@ -410,7 +410,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
|
||||||
elif status_code == 200:
|
elif status_code == 200:
|
||||||
self.setAuthenticationState(AuthState.Authenticated)
|
self.setAuthenticationState(AuthState.Authenticated)
|
||||||
# Now we know for sure that we are authenticated, send the material profiles to the machine.
|
# Now we know for sure that we are authenticated, send the material profiles to the machine.
|
||||||
self.sendMaterialProfiles()
|
self._sendMaterialProfiles()
|
||||||
|
|
||||||
def _checkAuthentication(self):
|
def _checkAuthentication(self):
|
||||||
Logger.log("d", "Checking if authentication is correct for id %s and key %s", self._authentication_id, self._getSafeAuthKey())
|
Logger.log("d", "Checking if authentication is correct for id %s and key %s", self._authentication_id, self._getSafeAuthKey())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue