mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix string formatting
This commit is contained in:
parent
b7dfa11e69
commit
c1b5cce064
6 changed files with 16 additions and 15 deletions
|
@ -25,7 +25,7 @@ class ExportFileJob(WriteFileJob):
|
|||
# Determine the filename.
|
||||
job_name = CuraApplication.getInstance().getPrintInformation().jobName
|
||||
extension = self._mesh_format_handler.preferred_format.get("extension", "")
|
||||
self.setFileName(f"{job_name}.{extension}")
|
||||
self.setFileName("{}.{}".format(job_name, extension))
|
||||
|
||||
## Get the mime type of the selected export file type.
|
||||
def getMimeType(self) -> str:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue