mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-31 23:51:28 +08:00
Fix typo
This commit is contained in:
parent
de9a4e5b83
commit
545f9e840b
@ -504,6 +504,6 @@ async def _real_run_command(session: CommandSession,
|
|||||||
if ctx_id in _sessions:
|
if ctx_id in _sessions:
|
||||||
# make sure there is no session waiting
|
# make sure there is no session waiting
|
||||||
del _sessions[ctx_id]
|
del _sessions[ctx_id]
|
||||||
logger.debug(f'Session of command {session.cmd.name} switching,'
|
logger.debug(f'Session of command {session.cmd.name} switching, '
|
||||||
f'new context message: {e.new_ctx_message}')
|
f'new context message: {e.new_ctx_message}')
|
||||||
raise e # this is intended to be propagated to handle_message()
|
raise e # this is intended to be propagated to handle_message()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user