|
|
@@ -11,7 +11,7 @@ class redis_pool:
|
|
|
# 获取当前目录
|
|
|
current_dir = os.path.dirname(__file__)
|
|
|
# 使用相对路径访问 config.yaml 文件
|
|
|
- config_file = os.path.join(current_dir, 'config.yaml')
|
|
|
+ config_file = os.path.join(current_dir, '../config.yaml')
|
|
|
|
|
|
with open(config_file, 'r') as file:
|
|
|
config = yaml.load(file, Loader=yaml.FullLoader)
|