mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Add skipkeys flag to writing plugin metadata to workspace
CURA-6627
This commit is contained in:
parent
b8dbc1d160
commit
4e0e0c0339
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
|||
# We have to set the compress type of each file as well (it doesn't keep the type of the entire archive)
|
||||
file_in_archive.compress_type = zipfile.ZIP_DEFLATED
|
||||
import json
|
||||
archive.writestr(file_in_archive, json.dumps(metadata, separators = (", ", ": "), indent = 4))
|
||||
archive.writestr(file_in_archive, json.dumps(metadata, separators = (", ", ": "), indent = 4, skipkeys = True))
|
||||
|
||||
## Helper function that writes ContainerStacks, InstanceContainers and DefinitionContainers to the archive.
|
||||
# \param container That follows the \type{ContainerInterface} to archive.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue