From 6b7752e14afe4b374f3683fa10b7749eeb32bf4a Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 9 Dec 2024 18:45:20 +0800 Subject: [PATCH] Update sql_mysql.py --- plugins/data_query/sql_mysql.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/data_query/sql_mysql.py b/plugins/data_query/sql_mysql.py index d69c2737b..d69ce9dcb 100755 --- a/plugins/data_query/sql_mysql.py +++ b/plugins/data_query/sql_mysql.py @@ -8,11 +8,6 @@ import re import pymongo import json -web_dir = os.getcwd() + "/web" -if os.path.exists(web_dir): - sys.path.append(web_dir) - os.chdir(web_dir) - import core.mw as mw def singleton(cls):