From e584275f7a66d45604f6aa8abced898349b56fbb Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 25 Jul 2016 16:31:18 +0200 Subject: [PATCH] No longer drop messages that have an error state. I overlooked that authentication required is also an error state Fixes CURA-1975 --- NetworkPrinterOutputDevice.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/NetworkPrinterOutputDevice.py b/NetworkPrinterOutputDevice.py index 3001c1b41a..e593b0959b 100644 --- a/NetworkPrinterOutputDevice.py +++ b/NetworkPrinterOutputDevice.py @@ -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: