MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / load_send

Function load_send

backup/sysxc.py:16–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14logger.addHandler(logging.StreamHandler())
15
16def load_send():
17 global send, mg
18 cur_path = path.abspath(path.dirname(__file__))
19 if path.exists(cur_path + "/notify.py"):
20 try:
21 from notify import send
22 print("加载通知服务成功!")
23 except:
24 send = False
25 print("加载通知服务失败~")
26 else:
27 send = False
28 print("加载通知服务失败~")
29
30load_send()
31

Callers 1

sysxc.pyFile · 0.85

Calls 1

printFunction · 0.50

Tested by

no test coverage detected