From 157620ba5cf46ffd95fd2ef4387248cfd51721fc Mon Sep 17 00:00:00 2001 From: yshtcn Date: Sun, 23 Jul 2023 14:42:23 +0800 Subject: [PATCH] Update heartbeat.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更正关闭菜单 --- heartbeat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heartbeat.py b/heartbeat.py index d6891a1..3ba96e1 100644 --- a/heartbeat.py +++ b/heartbeat.py @@ -74,7 +74,7 @@ heartbeat_url = config.get('Settings', 'heartbeat_url') title = config.get('Settings', 'title') tips = config.get('Settings', 'tips') -icon = pystray.Icon(title, image, tips, menu=pystray.Menu(pystray.MenuItem(tips, quit_action))) +icon = pystray.Icon(title, image, tips, menu=pystray.Menu(pystray.MenuItem('关闭程序', quit_action))) # 创建一个新的Session对象,并根据需要配置代理 session = requests.Session()