删除了无效代码行

This commit is contained in:
wangyu 2023-03-28 14:32:36 +08:00
parent aa24d1dc47
commit 1d12588478

View File

@ -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)]