From 6d61ef8de94fa87cb6ee31cc57f1f37dd04d097d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 24 Apr 2024 11:34:09 +0300 Subject: Move the errors module up one level to break circular dependencies. --- gn_auth/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/errors.py') diff --git a/gn_auth/errors.py b/gn_auth/errors.py index 7e90659..7b6ad33 100644 --- a/gn_auth/errors.py +++ b/gn_auth/errors.py @@ -4,7 +4,7 @@ import traceback from werkzeug.exceptions import NotFound from flask import Flask, request, jsonify, current_app, render_template -from gn_auth.auth.authorisation.errors import AuthorisationError +from gn_auth.auth.errors import AuthorisationError def add_trace(exc: Exception, errobj: dict) -> dict: """Add the traceback to the error handling object.""" -- cgit v1.2.3