diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2017-12-06 16:48:58 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2017-12-06 16:49:00 +0300 |
commit | 298a659c094bb31e7ad86b4688a40a9a12161dfc (patch) | |
tree | bb200b180465305213ef0bac40cb33dc8da590d4 /plugins/3MFWriter/ThreeMFWorkspaceWriter.py | |
parent | 569e040955f9f924040d18b52f3e30f54fe1a196 (diff) |
Save is_debug_mode as string
CURA-4683
Diffstat (limited to 'plugins/3MFWriter/ThreeMFWorkspaceWriter.py')
-rw-r--r-- | plugins/3MFWriter/ThreeMFWorkspaceWriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py index 3953bea229..4f1ff9494f 100644 --- a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py +++ b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py @@ -61,7 +61,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter): version_config_parser.add_section("versions") version_config_parser.set("versions", "cura_version", Application.getInstance().getVersion()) version_config_parser.set("versions", "build_type", Application.getInstance().getBuildType()) - version_config_parser.set("versions", "is_debug_mode", Application.getInstance().getIsDebugMode()) + version_config_parser.set("versions", "is_debug_mode", str(Application.getInstance().getIsDebugMode())) version_file_string = StringIO() version_config_parser.write(version_file_string) |