diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-07 16:58:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-07 16:58:29 +0400 |
commit | e1f7fae61cdf6e13d497ba9171971f25526d0557 (patch) | |
tree | ce1c147a1552e561a448eb8544722ee8edfdfc7f /io_scene_x3d/import_x3d.py | |
parent | 7af67ead2082613e803894b18664cc09f165d310 (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.py | 2 |
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 |