nprapps / copydoc

Like copytext, but for docs
MIT License
12 stars 6 forks source link

empty docs cause nonetype error #8

Closed eads closed 7 years ago

eads commented 8 years ago
  ...
  File "/Users/deads/.virtualenvs/leadpipes/lib/python2.7/site-packages/copydoc.py", line 72, in parse
    for tag in self.soup.body.findAll():
AttributeError: 'NoneType' object has no attribute 'findAll'