From 79259a2717c5b3a0aa08308eedf5fc157c08edde Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 24 Nov 2016 16:00:28 +0100 Subject: [PATCH] Updated requestWrite for new API --- NetworkPrinterOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetworkPrinterOutputDevice.py b/NetworkPrinterOutputDevice.py index 931d4712dc..20552a6843 100644 --- a/NetworkPrinterOutputDevice.py +++ b/NetworkPrinterOutputDevice.py @@ -515,7 +515,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice): # This is ignored. # \param filter_by_machine Whether to filter MIME types by machine. This # is ignored. - def requestWrite(self, nodes, file_name = None, filter_by_machine = False): + def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None): if self._progress != 0: self._error_message = Message(i18n_catalog.i18nc("@info:status", "Unable to start a new print job because the printer is busy. Please check the printer.")) self._error_message.show()