Skip to content

Commit

Permalink
fix(import): make imports relative paths (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
drahamim authored Feb 9, 2024
1 parent 4ea8ac8 commit 7044acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/invenflask/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion wsgi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from invenflask.app import app as application
from src.invenflask.app import app as application

app = application

Expand Down

0 comments on commit 7044acd

Please sign in to comment.