Made Heroku-suggested changes to Python file