mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:15:54 +08:00
No longer drop messages that have an error state.
I overlooked that authentication required is also an error state Fixes CURA-1975
This commit is contained in:
parent
0df2543f1a
commit
e584275f7a
@ -415,8 +415,6 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
|
||||
if reply.error() == QNetworkReply.NoError:
|
||||
self._last_response_time = time()
|
||||
else:
|
||||
return # Error in the reply, drop it.
|
||||
|
||||
status_code = reply.attribute(QNetworkRequest.HttpStatusCodeAttribute)
|
||||
if reply.operation() == QNetworkAccessManager.GetOperation:
|
||||
|
Loading…
x
Reference in New Issue
Block a user