Make params named so we know what we're doing

This commit is contained in:
ChrisTerBeke 2019-07-29 23:25:08 +02:00
parent bd6056dd33
commit 8087fa421d

View File

@ -158,7 +158,7 @@ class NetworkOutputDevice(UltimakerNetworkedPrinterOutputDevice):
# Export the file.
stream = mesh_format.createStream()
job = WriteFileJob(mesh_format.writer, stream, nodes, mesh_format.file_mode)
job = WriteFileJob(writer=mesh_format.writer, stream=stream, data=nodes, mode=mesh_format.file_mode)
job.setFileName(file_name)
job.finished.connect(self._onPrintJobCreated)
job.start()