mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:35:54 +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:
|
for line in self._gcode:
|
||||||
single_string_file_data += line
|
single_string_file_data += line
|
||||||
|
|
||||||
## TODO: Use correct file name (we use placeholder now)
|
file_name = "%s.gcode" % Application.getInstance().getPrintInformation().jobName
|
||||||
file_name = "test.gcode"
|
|
||||||
|
|
||||||
## Create multi_part request
|
## Create multi_part request
|
||||||
self._post_multi_part = QHttpMultiPart(QHttpMultiPart.FormDataType)
|
self._post_multi_part = QHttpMultiPart(QHttpMultiPart.FormDataType)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user