Skip to content

Commit

Permalink
fixed #88 - Loading ASCII STL with empty name prints a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Dec 17, 2018
1 parent daa822f commit a633185
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions stl/stl.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,6 @@ def get(prefix=''):
return b(line)

line = get()
if not line.startswith(b('solid ')) and line.startswith(b('solid')):
cls.warning('ASCII STL files should start with solid <space>. '
'The application that produced this STL file may be '
'faulty, please report this error. The erroneous '
'line: %r', line)

if not lines:
raise RuntimeError(recoverable[0],
'No lines found, impossible to read')
Expand Down

0 comments on commit a633185

Please sign in to comment.