mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Added **kwargs option to request write
CURA-3496
This commit is contained in:
parent
ea3acd6c35
commit
7993d9e95e
3 changed files with 6 additions and 3 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue