还有一点小bug,以及代码清理

This commit is contained in:
lededev
2021-09-29 06:37:45 +08:00
parent 2c22d70078
commit 531840c3fb
4 changed files with 38 additions and 30 deletions

View File

@@ -16,7 +16,7 @@ class Config:
]
ini_path = None
for p in path_search_order:
if os.path.exists(p):
if os.path.isfile(p):
ini_path = p
break
if ini_path: