mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Serialise MIME type name rather than entire MIME type
So we don't get the bracket syntax from its repr, just the MIME type itself. Contributes to issue CURA-8232.
This commit is contained in:
parent
d4fa1cee45
commit
9e136eb499
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ class SliceInfo(QObject, Extension):
|
|||
if node.source_mime_type is None:
|
||||
model["mime_type"] = ""
|
||||
else:
|
||||
model["mime_type"] = node.source_mime_type
|
||||
model["mime_type"] = node.source_mime_type.name
|
||||
|
||||
data["models"].append(model)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue