This commit is contained in:
@@ -13,7 +13,7 @@ from dotenv import load_dotenv
|
||||
|
||||
# 路径设置
|
||||
project_root = Path(__file__).resolve().parent.parent
|
||||
sys.path.insert(0, str(project_root))
|
||||
#sys.path.insert(0, str(project_root))
|
||||
load_dotenv(project_root / ".env")
|
||||
|
||||
# 全局变量
|
||||
|
||||
Reference in New Issue
Block a user