Make sure the output device gets selected above local file output

This commit is contained in:
fieldOfView 2016-08-03 17:05:20 +02:00
parent 10be9e6674
commit 0b1c4ea551

View file

@ -37,6 +37,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
self._key = key self._key = key
self._properties = properties # Properties dict as provided by zero conf 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 self._gcode = None
# This holds the full JSON file that was received from the last request. # This holds the full JSON file that was received from the last request.