Fixed flake8 errors.
Merge pull request #1225 from normanjaeckel/Flake8Errors

Fixed flake8 errors.