From e7937ade8d91f7741a649de24faacbe194a3c0d0 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 8 Aug 2023 06:48:14 +0300 Subject: Use relative imports to break circular import errors --- gn_auth/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gn_auth/__init__.py') diff --git a/gn_auth/__init__.py b/gn_auth/__init__.py index 9b0264c..446ba19 100644 --- a/gn_auth/__init__.py +++ b/gn_auth/__init__.py @@ -1,5 +1,4 @@ """Application initialisation module.""" - import os import sys import logging @@ -7,8 +6,8 @@ from typing import Optional from flask import Flask -from gn_auth.auth import oauth2 from gn_auth.misc_views import misc +from gn_auth.auth.views import oauth2 from gn_auth.auth.authentication.oauth2.server import setup_oauth2_server -- cgit v1.2.3