From e1f7fae61cdf6e13d497ba9171971f25526d0557 Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Mon, 7 Oct 2013 12:58:29 +0000 Subject: [PATCH] fix for error reading gzip'd x3d/vrml files --- io_scene_x3d/import_x3d.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index f74eb5855..b91341556 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 -- GitLab