Added **kwargs option to request write

CURA-3496
This commit is contained in:
Jaime van Kessel 2017-03-14 13:30:47 +01:00
parent ea3acd6c35
commit 7993d9e95e
3 changed files with 6 additions and 3 deletions

View file

@ -37,7 +37,8 @@ class RemovableDriveOutputDevice(OutputDevice):
# meshes.
# \param limit_mimetypes Should we limit the available MIME types to the
# MIME types available to the currently active machine?
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None):
#
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None, **kwargs):
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()