From 056266ce9407af3b464e36f0f7c46a8cde9584e1 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Wed, 15 Nov 2023 13:37:34 +0800 Subject: [PATCH] :bug: Fix patch circular import --- run.py | 1 + utils/__init__.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/run.py b/run.py index 357bf637..7294e15c 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 4829b6fd..e69de29b 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -1,3 +0,0 @@ -import utils.patch - -__all__ = (utils.patch,)