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:
Jaime van Kessel 2016-07-25 16:31:18 +02:00
parent 0df2543f1a
commit e584275f7a

View file

@ -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: