Another PEP8 fix

Somehow I missed this error. Also changed way passwords are generated,
now includes punctuations and whitespace.