diff options
| author | Frederick Muriuki Muriithi | 2026-05-21 13:43:51 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-05-21 13:43:51 -0500 |
| commit | 4324f2432390392c8022beab480d8bc911682d1f (patch) | |
| tree | e10cb2c4ca05a1b762af6fc926f4184e91ca97c4 /gn_auth/wsgi.py | |
| parent | 6568edd6bf616a0c17c5226f40b494a6b2967dad (diff) | |
| download | gn-auth-4324f2432390392c8022beab480d8bc911682d1f.tar.gz | |
Move scripts to top-level gn_auth package.
In preparation for migrating to pyproject.toml (from setup.py and friends) we need to have only one top-level package. This will also help in improving testing and checks down the line, since everything will be relative to one single top-level directory.
Diffstat (limited to 'gn_auth/wsgi.py')
| -rw-r--r-- | gn_auth/wsgi.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gn_auth/wsgi.py b/gn_auth/wsgi.py index e05ef0d..f2f17f1 100644 --- a/gn_auth/wsgi.py +++ b/gn_auth/wsgi.py @@ -16,8 +16,7 @@ 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.users.admin.models import make_sys_admin - -from scripts import register_sys_admin as rsysadm# type: ignore[import] +from gn_auth.scripts import register_sys_admin as rsysadm# type: ignore[import] app = create_app() |
