diff options
author | Frederick Muriuki Muriithi | 2024-04-24 11:34:09 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-24 11:34:09 +0300 |
commit | 6d61ef8de94fa87cb6ee31cc57f1f37dd04d097d (patch) | |
tree | 24234aa8fa1c4b6227322aa3c58e130697cb96bb /scripts/gn_auth_wsgi.py | |
parent | b317cd7e3684bf7c034ad0a1bb208d55fb87b164 (diff) | |
download | gn-auth-6d61ef8de94fa87cb6ee31cc57f1f37dd04d097d.tar.gz |
Move the errors module up one level to break circular dependencies.
Diffstat (limited to 'scripts/gn_auth_wsgi.py')
-rw-r--r-- | scripts/gn_auth_wsgi.py | 3 |
1 files changed, 1 insertions, 2 deletions
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] |