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

@ -443,7 +443,8 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
# This is ignored.
# \param filter_by_machine Whether to filter MIME types by machine. This
# is ignored.
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None):
# \param kwargs Keyword arguments.
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None, **kwargs):
container_stack = Application.getInstance().getGlobalContainerStack()
if container_stack.getProperty("machine_gcode_flavor", "value") == "UltiGCode":