Removable drive plugin is now forced to use machine preference for output type

Fixes CURA-1165
This commit is contained in:
Jaime van Kessel 2016-03-15 16:43:14 +01:00
parent bcb2857f6e
commit 7c22fe1eb5

View file

@ -26,6 +26,7 @@ class RemovableDriveOutputDevice(OutputDevice):
self._writing = False
def requestWrite(self, node, file_name = None, filter_by_machine = False):
filter_by_machine = True # This plugin is indended to be used by machine (regardless of what it was told to do)
if self._writing:
raise OutputDeviceError.DeviceBusyError()