Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-10-07 16:58:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-07 16:58:29 +0400
commite1f7fae61cdf6e13d497ba9171971f25526d0557 (patch)
treece1c147a1552e561a448eb8544722ee8edfdfc7f /io_scene_x3d/import_x3d.py
parent7af67ead2082613e803894b18664cc09f165d310 (diff)
fix for error reading gzip'd x3d/vrml files
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r--io_scene_x3d/import_x3d.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index f74eb585..b9134155 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -1232,6 +1232,8 @@ def gzipOpen(path):
filehandle.close()
except:
pass
+ else:
+ data = data.decode('utf-8', "replace")
return data