From c086da70db7cfb76d4acb4bb5f3cdfed9b111fdc Mon Sep 17 00:00:00 2001 From: hlt1995 <93117676+hlt1995@users.noreply.github.com> Date: Thu, 23 Oct 2025 12:26:20 +0800 Subject: [PATCH] Update mcloud.py --- 139cloud/mcloud.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/139cloud/mcloud.py b/139cloud/mcloud.py index 6da5f79..107e100 100644 --- a/139cloud/mcloud.py +++ b/139cloud/mcloud.py @@ -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: