当前提交
a3e4f937b2
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -39,7 +39,7 @@ def save(conf):
|
|||
def get_path(check_write=False):
|
||||
"""Find config path
|
||||
"""
|
||||
for loc in "/etc/realms-wiki", os.path.expanduser("~"), os.curdir:
|
||||
for loc in os.curdir, os.path.expanduser("~"), "/etc/realms-wiki":
|
||||
if not loc:
|
||||
continue
|
||||
path = os.path.join(loc, "realms-wiki.json")
|
||||
|
|
|
|||
正在加载…
添加表格
添加链接
在新工单中引用