mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix extension when sending to printer
It should use the extension of the preferred format. Contributes to issue CURA-5097.
This commit is contained in:
parent
c9a23d5ca3
commit
6f9e0431bb
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
# Add user name to the print_job
|
||||
parts.append(self._createFormPart("name=owner", bytes(self._getUserName(), "utf-8"), "text/plain"))
|
||||
|
||||
file_name = "%s.gcode.gz" % Application.getInstance().getPrintInformation().jobName
|
||||
file_name = Application.getInstance().getPrintInformation().jobName + "." + preferred_format["extension"]
|
||||
|
||||
while not job.isFinished():
|
||||
sleep(0.1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue