From d12bd423aeaa6b94495fc55f591c6f3de333d323 Mon Sep 17 00:00:00 2001 From: mikumifa <1055069518@qq.com> Date: Thu, 14 Nov 2024 23:24:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4playsound=20#448?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/PushPlusUtil.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/util/PushPlusUtil.py b/util/PushPlusUtil.py index 783415b..e4990f0 100644 --- a/util/PushPlusUtil.py +++ b/util/PushPlusUtil.py @@ -1,11 +1,8 @@ import json -import os import loguru -import playsound import requests -from config import TEMP_PATH def send_message(token, content, title): @@ -25,5 +22,3 @@ def send_message(token, content, title): loguru.logger.info("PushPlus消息发送失败") -if __name__ == '__main__': - playsound.playsound(os.path.join(TEMP_PATH, "default.mp3"))