Skip to content

Commit c27e824

Browse files
committed
fix(bilibili): ignore uid has not live romm
1 parent 94a0382 commit c27e824

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugins/bilibili/plugins/live/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ async def _() -> None:
7676
[
7777
uid
7878
for uid in uids
79-
if curr_room_infos[uid]["live_status"] ^ room_infos[uid]["live_status"]
79+
if uid in curr_room_infos
80+
and curr_room_infos[uid]["live_status"] ^ room_infos[uid]["live_status"]
8081
]
8182
)
8283
)

0 commit comments

Comments
 (0)