fixed PEP8 errors

I have tested it locally, should work ok and PIP8 is not giving errors anymore.