I'm a beginner to python and flask. I had been trying to move my app from my local machine to here and have been having this "'module' object is not callable" error for a while. I just tried to just clear my app.py and replace it with a minimal app framework that I know should work, but I'm still getting the same error. (I tried to format this code but what the hints said wasn't working)
from flask import Flask
app = Flask(name)
(indent)return "< p>Hello, World!< p>"
My WSGI file looks as such:
path = '/home/ersredna/final-project'
if path not in sys.path:
from final_app import app as application
And my app.py file lives at '/home/ersredna/final-project/final_app/app.py'