fixed AttributeError: 'NoneType'

fixed AttributeError: 'NoneType' object has no attribute 'body' if the text was empty.
Merge pull request #5 from FHNW/master

fixed AttributeError: 'NoneType'