From 0b1c4ea5519e1cabcba9accc2012f8034dca3e70 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Wed, 3 Aug 2016 17:05:20 +0200 Subject: [PATCH] Make sure the output device gets selected above local file output --- NetworkPrinterOutputDevice.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NetworkPrinterOutputDevice.py b/NetworkPrinterOutputDevice.py index ec0cbeca66..37542a74e6 100644 --- a/NetworkPrinterOutputDevice.py +++ b/NetworkPrinterOutputDevice.py @@ -37,6 +37,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice): self._key = key self._properties = properties # Properties dict as provided by zero conf + self.setPriority(2) # Make sure the output device gets selected above local file output + self._gcode = None # This holds the full JSON file that was received from the last request.