diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-04 02:20:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-04 02:20:37 +0400 |
commit | d9fcbd06018165cc2cfca0673c7c2db44b04a833 (patch) | |
tree | 05d22fa68f47f5bff7a06c6896bb9641c6dca9e0 /io_mesh_ply | |
parent | b11d05fede5ddf38be70e8352363d3998d27dd38 (diff) |
Fix T38462: error importing PLY with leading space
Diffstat (limited to 'io_mesh_ply')
-rw-r--r-- | io_mesh_ply/import_ply.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/import_ply.py b/io_mesh_ply/import_ply.py index 9cf5df63..5d4f8244 100644 --- a/io_mesh_ply/import_ply.py +++ b/io_mesh_ply/import_ply.py @@ -35,7 +35,7 @@ class element_spec(object): def load(self, format, stream): if format == b'ascii': - stream = re.split(b'\s+', stream.readline()) + stream = stream.readline().split() return [x.load(format, stream) for x in self.properties] def index(self, name): |