mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Use jobname instead of "test" placeholder
CURA-49
This commit is contained in:
parent
f3c1f947d4
commit
fe4ed3dad8
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue