ImportError: cannot import name ‘app’ in wsgi file

Solution
(venv) $ python
Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wsgi
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/vagrant/toydeploy/wsgi.py", line 3, in 
    app = create_app()
  File "/home/vagrant/toydeploy/app/__init__.py", line 62, in create_app
    from app.errors import bp as errors_bp  # noqa
  File "/home/vagrant/toydeploy/app/errors/__init__.py", line 6, in 
    from app.errors import handlers  # noqa
  File "/home/vagrant/toydeploy/app/errors/handlers.py", line 6, in 
    oops
NameError: name 'oops' is not defined
>>>