瀏覽代碼

Merge pull request #549 from a5225662/master

明确config.py中config.json的查找目录为当前目录 #547
master
zhayujie GitHub 2 年之前
父節點
當前提交
a660aa2133
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      config.py

+ 1
- 1
config.py 查看文件

@@ -9,7 +9,7 @@ config = {}

def load_config():
global config
config_path = "config.json"
config_path = "./config.json"
if not os.path.exists(config_path):
raise Exception('配置文件不存在,请根据config-template.json模板创建config.json文件')



Loading…
取消
儲存