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. --- scripts/gn_auth_wsgi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/gn_auth_wsgi.py') diff --git a/scripts/gn_auth_wsgi.py b/scripts/gn_auth_wsgi.py index 1de0b56..811a0d5 100644 --- a/scripts/gn_auth_wsgi.py +++ b/scripts/gn_auth_wsgi.py @@ -17,9 +17,8 @@ from gn_auth import migrations from gn_auth import create_app from gn_auth.auth.db import sqlite3 as db +from gn_auth.auth.errors import NotFoundError from gn_auth.auth.authentication.users import user_by_id, hash_password - -from gn_auth.auth.authorisation.errors import NotFoundError from gn_auth.auth.authorisation.users.admin.models import make_sys_admin from scripts import register_sys_admin as rsysadm# type: ignore[import] -- cgit v1.2.3