title: 500 Internal Server Error (trying to upload file)
body: <p>I have small app in flask was is hosted on pythonanywhere. When I try uploading a file I get 500 error. I copied the code exactly except for changing the UPLOAD_FOLDER path and ALLOWED_EXTENSIONS. Local(on my computer) all working good but on server not.</p>
  
  <p><a href="http://pastebin.com/hWdh4VvB" rel="nofollow">Log error</a></p>
  
  <p><a href="http://pastebin.com/riq5hKMx" rel="nofollow">My Code</a></p>