mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-24 21:36:06 +00:00
ci: 错误的路径
This commit is contained in:
@@ -13,5 +13,5 @@ for key in cmdsmgr.__command_list__:
|
|||||||
template[key] = cmdsmgr.__command_list__[key]['privilege']
|
template[key] = cmdsmgr.__command_list__[key]['privilege']
|
||||||
|
|
||||||
# 写入cmdpriv-template.json
|
# 写入cmdpriv-template.json
|
||||||
with open('../templates/cmdpriv-template.json', 'w') as f:
|
with open('cmdpriv-template.json', 'w') as f:
|
||||||
f.write(json.dumps(template, indent=4, ensure_ascii=False))
|
f.write(json.dumps(template, indent=4, ensure_ascii=False))
|
||||||
@@ -19,5 +19,5 @@ for k, v in template.__dict__.items():
|
|||||||
print(k, v, type(v))
|
print(k, v, type(v))
|
||||||
output_json[k] = v
|
output_json[k] = v
|
||||||
|
|
||||||
with open("../../override-all.json", "w", encoding="utf-8") as f:
|
with open("override-all.json", "w", encoding="utf-8") as f:
|
||||||
json.dump(output_json, f, indent=4, ensure_ascii=False)
|
json.dump(output_json, f, indent=4, ensure_ascii=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user