mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 19:25:58 +08:00
Use jobname instead of "test" placeholder
CURA-49
This commit is contained in:
parent
f3c1f947d4
commit
fe4ed3dad8
@ -290,8 +290,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
for line in self._gcode:
|
||||
single_string_file_data += line
|
||||
|
||||
## TODO: Use correct file name (we use placeholder now)
|
||||
file_name = "test.gcode"
|
||||
file_name = "%s.gcode" % Application.getInstance().getPrintInformation().jobName
|
||||
|
||||
## Create multi_part request
|
||||
self._post_multi_part = QHttpMultiPart(QHttpMultiPart.FormDataType)
|
||||
|
Loading…
x
Reference in New Issue
Block a user