Fix LegacyUM3OutputDevice post() call

This commit is contained in:
fieldOfView 2018-11-07 16:07:45 +01:00
parent 517428a308
commit f12efb7aa1

View File

@ -500,7 +500,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
self.post("auth/request",
json.dumps({"application": "Cura-" + CuraApplication.getInstance().getVersion(),
"user": self._getUserName()}).encode(),
"user": self._getUserName()}),
on_finished=self._onRequestAuthenticationFinished)
self.setAuthenticationState(AuthState.AuthenticationRequested)