From 77663663675f23d309e855e1f75b8b7df67ce9c6 Mon Sep 17 00:00:00 2001 From: CakeCN Date: Sun, 14 Sep 2025 16:10:08 +0800 Subject: [PATCH] patch before all --- Html/app.py | 3 ++- Html/apps/__init__.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Html/app.py b/Html/app.py index c7f31f7..88e4c11 100644 --- a/Html/app.py +++ b/Html/app.py @@ -1,4 +1,5 @@ -# app.py 0.1.1 rise to factory mode +import eventlet +eventlet.monkey_patch() from bootstrap import bootstrap_paths bootstrap_paths() from apps import create_app diff --git a/Html/apps/__init__.py b/Html/apps/__init__.py index 37ed701..82edac9 100644 --- a/Html/apps/__init__.py +++ b/Html/apps/__init__.py @@ -6,8 +6,6 @@ from .views import register_blueprints import atexit import logging import signal -import eventlet -eventlet.monkey_patch() import threading _shutdown_once = threading.Event()