fix typo
This commit is contained in:
parent
5872c75bee
commit
44b789c231
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ async def _(msg: Bot.MessageSession):
|
|||
async def _(msg: Bot.MessageSession):
|
||||
target = WikiTargetInfo(msg)
|
||||
delete = target.config_headers(
|
||||
[msg.parsed_msg['<HeaderHey>']], let_it=False)
|
||||
[msg.parsed_msg['<HeaderKey>']], let_it=False)
|
||||
if delete:
|
||||
await msg.finish(msg.locale.t("wiki.message.headers.add.success", headers=json.dumps(target.get_headers())))
|
||||
else:
|
||||
|
|
Reference in a new issue