updated bug in method
Merge pull request #141 from rwarbelow/fix_ssl

updated bug in method