Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2017-03-14 15:30:47 +0300
committerJaime van Kessel <nallath@gmail.com>2017-03-14 15:30:47 +0300
commit7993d9e95eaf804c1e579f06652a0084f787cf51 (patch)
tree176b86a3a6c4f31685b27a02324551ad8baf167f /plugins/RemovableDriveOutputDevice
parentea3acd6c35ed51a91653209b8bfcc5ec26f7c63c (diff)
Added **kwargs option to request write
CURA-3496
Diffstat (limited to 'plugins/RemovableDriveOutputDevice')
-rw-r--r--plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py b/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py
index b6505e7e6b..d971c007bc 100644
--- a/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py
+++ b/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py
@@ -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()