fixed attribute error 'None doesn`t have attr'
Merge pull request #5 from suvit/2.0.0

fixed attribute error 'None doesn`t have attr'