diff --git a/src/invenflask/app.py b/src/invenflask/app.py index bf06827..1497fa3 100644 --- a/src/invenflask/app.py +++ b/src/invenflask/app.py @@ -9,7 +9,7 @@ from sqlalchemy.exc import IntegrityError from werkzeug.utils import secure_filename -from invenflask.models import Asset, Staff, Checkout, History, db +from .models import Asset, Staff, Checkout, History, db app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv( diff --git a/wsgi.py b/wsgi.py index 924b287..6859402 100644 --- a/wsgi.py +++ b/wsgi.py @@ -1,4 +1,4 @@ -from invenflask.app import app as application +from src.invenflask.app import app as application app = application