This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
J1147
/
CoW
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
明确config.py中config.json的查找目录为当前目录
#547
master
a5225662
1 year ago
parent
2d3ffa1738
commit
5e48dd50ac
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config.py
+ 1
- 1
config.py
View File
@@ -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文件')
Write
Preview
Loading…
Cancel
Save