diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-02-06 16:26:02 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-02-06 16:26:02 +0300 |
commit | 3d01d7bc548476003351ee6aa50c43862aceaa54 (patch) | |
tree | d3ad888b08caefc9f43370cdff44d248010b2ab2 /plugins/3MFWriter/ThreeMFWriter.py | |
parent | 4dc70cc2b129dcf4ff6a0254fcbb86e41dcc31cd (diff) |
Removed unneeded bytearray to string conversion
Diffstat (limited to 'plugins/3MFWriter/ThreeMFWriter.py')
-rw-r--r-- | plugins/3MFWriter/ThreeMFWriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/3MFWriter/ThreeMFWriter.py b/plugins/3MFWriter/ThreeMFWriter.py index f7ea04ed0d..00bb8d9942 100644 --- a/plugins/3MFWriter/ThreeMFWriter.py +++ b/plugins/3MFWriter/ThreeMFWriter.py @@ -156,7 +156,7 @@ class ThreeMFWriter(MeshWriter): savitar_scene.addSceneNode(savitar_node) parser = Savitar.ThreeMFParser() - scene_string = parser.sceneToString(savitar_scene).encode('utf-8') + scene_string = parser.sceneToString(savitar_scene) archive.writestr(model_file, scene_string) archive.writestr(content_types_file, b'<?xml version="1.0" encoding="UTF-8"?> \n' + ET.tostring(content_types)) |