We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90b890a commit 4c1b779Copy full SHA for 4c1b779
1 file changed
plyfile.py
@@ -1150,7 +1150,10 @@ def consume(self, raw_line):
1150
1151
line = raw_line.strip()
1152
if line == '':
1153
- return
+ # We silently skip empty header lines. This isn't strictly
1154
+ # allowed in the spec, but this logic slightly improves
1155
+ # interoperability with other tools.
1156
+ return self._allowed
1157
try:
1158
keyword = line.split(None, 1)[0]
1159
except IndexError:
0 commit comments