mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
删除了无效代码行
This commit is contained in:
parent
aa24d1dc47
commit
1d12588478
@ -97,7 +97,6 @@ async def _(event: MessageEvent, msg: Message = CommandArg()):
|
|||||||
uids = [i.uid for i in cookie_list]
|
uids = [i.uid for i in cookie_list]
|
||||||
current_uid = uids[0]
|
current_uid = uids[0]
|
||||||
if len(cookie_list)>1 and cache_uid and (cache_uid.uid in uids):
|
if len(cookie_list)>1 and cache_uid and (cache_uid.uid in uids):
|
||||||
current_uid = uids[0]
|
|
||||||
for idx,uid in enumerate(uids):
|
for idx,uid in enumerate(uids):
|
||||||
if uid == cache_uid.uid:
|
if uid == cache_uid.uid:
|
||||||
current_uid = uids[(idx+1)%len(uids)]
|
current_uid = uids[(idx+1)%len(uids)]
|
||||||
|
Loading…
Reference in New Issue
Block a user