fix invalid boolean conversion
Merge pull request #9 from grosser/download

fix invalid boolean conversion