mirror of
https://github.com/hlt1995/qlScripts.git
synced 2026-11-05 23:26:44 +08:00
Update mcloud.py
This commit is contained in:
1 parent
a714ca279a
commit
c086da70db
1 file changed
+3
-3
+3
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user