Skip to content

Commit 90b890a

Browse files
committed
skipping empty lines
1 parent c0cea0e commit 90b890a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plyfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,8 @@ def consume(self, raw_line):
11491149
self._error("early end-of-file")
11501150

11511151
line = raw_line.strip()
1152+
if line == '':
1153+
return
11521154
try:
11531155
keyword = line.split(None, 1)[0]
11541156
except IndexError:

0 commit comments

Comments
 (0)