Update mcloud.py

This commit is contained in:
hlt1995 authored and GitHub committed 2025-10-23 12:26:20 +08:00
1 parent a714ca279a
commit c086da70db
1 file changed
+3 -3
+3 -3
View File
@@ -42,15 +42,15 @@ def load_send():
if path.exists(notify_file):
try:
from notify import send # 导入模块的send为notify_send
from notify import send
print("加载通知服务成功!")
return send # 返回导入的函数
return send
except ImportError:
print("加载通知服务失败~")
else:
print("加载通知服务失败~")
return False # 返回False表示未成功加载通知服务
return False
class YP: