Update __init__.py
This commit is contained in:
parent
de90fa84f2
commit
2f6e3e406f
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ async def _(msg: MessageSession):
|
|||
if not records['data']:
|
||||
await msg.sendMessage('获取失败。')
|
||||
return
|
||||
else:
|
||||
records['ts'] = int(datetime.now().timestamp())
|
||||
|
||||
if 'data' in records:
|
||||
i = []
|
||||
|
|
Reference in a new issue