Skip to content

Commit

Permalink
🐛 修复推送报错 (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
KimigaiiWuyi committed Aug 11, 2024
1 parent b3112a7 commit 1dff173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GenshinUID/genshinuid_resin/notice.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


async def get_notice_list() -> Dict[str, Dict[str, Dict]]:
msg_dict: Dict[str, Dict[str, Dict]] = {}
msg_dict = {}
for bot_id in gss.active_bot:
user_list: List[GsUser] = await GsUser.get_all_push_user_list()
for user in user_list:
Expand All @@ -35,7 +35,7 @@ async def get_notice_list() -> Dict[str, Dict[str, Dict]]:
if push_data is None:
continue

msg_dict[bot_id] = await all_check(
msg_dict = await all_check(
user.bot_id,
raw_data,
push_data.__dict__,
Expand Down

0 comments on commit 1dff173

Please sign in to comment.