mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🔇 忘记删 debug 日志了
This commit is contained in:
@@ -121,12 +121,10 @@ async def trigger(
|
||||
command_type: CommandType | Literal['rank'],
|
||||
command_args: list[str],
|
||||
) -> AsyncGenerator:
|
||||
logger.debug('running')
|
||||
trigger_time = datetime.now(UTC)
|
||||
try:
|
||||
yield
|
||||
except FinishedException:
|
||||
logger.debug('yield')
|
||||
async with get_session() as session:
|
||||
session.add(
|
||||
TriggerHistoricalData(
|
||||
|
||||
Reference in New Issue
Block a user