From 8e5c4043f01c42204352ddb595e2682e028e3f5d Mon Sep 17 00:00:00 2001 From: xtaodada Date: Wed, 15 Nov 2023 13:34:52 +0800 Subject: [PATCH] :bug: Fix patch circular import fix #40 --- run.py | 1 + utils/__init__.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/run.py b/run.py index 357bf63..7294e15 100644 --- a/run.py +++ b/run.py @@ -11,6 +11,7 @@ except ImportError: def run(): + __import__("utils.patch") from core.application import Application from dotenv import load_dotenv diff --git a/utils/__init__.py b/utils/__init__.py index 4829b6f..e69de29 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -1,3 +0,0 @@ -import utils.patch - -__all__ = (utils.patch,)