Skip to content

Commit e341e8d

Browse files
committed
fix: typo
1 parent 1c6dac3 commit e341e8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ def on_message(ws, message):
3333
"content": "查看私信"
3434
}
3535
# 发送桌面通知
36-
toast("收到新洛谷的私信", f'{msg["sender"]["name"]}: {msg["content"]}',
36+
toast("收到新的洛谷私信", f'{msg["sender"]["name"]}: {msg["content"]}',
3737
duration="short",
38-
icon=f'https://cdn.luogu.com.cn/upload/usericon/{msg["sender"]["uid"]}.png',
38+
#icon=f'https://cdn.luogu.com.cn/upload/usericon/{msg["sender"]["uid"]}.png',
3939
buttons=[button_open, "忽略"],
4040
audio={"silent": "true"})
4141
print(f'https://cdn.luogu.com.cn/upload/usericon/{msg["sender"]["uid"]}.png')

0 commit comments

Comments
 (0)