From a7a1ea72f15b129da4f8c91120f8a79935c0341c Mon Sep 17 00:00:00 2001 From: Thastertyn Date: Fri, 8 Mar 2024 14:05:00 +0100 Subject: [PATCH] Unify import style --- app/api/routes/error_routes.py | 2 +- app/api/routes/main_routes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/routes/error_routes.py b/app/api/routes/error_routes.py index 343d9e9..d576431 100644 --- a/app/api/routes/error_routes.py +++ b/app/api/routes/error_routes.py @@ -1,4 +1,4 @@ -from .. import bp_errors +from app.api import bp_errors @bp_errors.app_errorhandler(400) def bad_request(e): diff --git a/app/api/routes/main_routes.py b/app/api/routes/main_routes.py index fcb06a0..b5a35ed 100644 --- a/app/api/routes/main_routes.py +++ b/app/api/routes/main_routes.py @@ -1,6 +1,6 @@ from flask import jsonify, abort -from .. import bp +from app.api import bp @bp.route('/') def hello():