Skip to content
Snippets Groups Projects
Commit d9fcbd06 authored by Campbell Barton's avatar Campbell Barton
Browse files

Fix T38462: error importing PLY with leading space

parent b11d05fe
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment