mirror of
https://github.com/xingsu1021/pthelper.git
synced 2026-11-01 05:03:57 +08:00
修复消息为空不发送
This commit is contained in:
@@ -309,6 +309,10 @@ def send_msg(crontab_id = None, send_data = [], title='PT助手提示'):
|
||||
"""
|
||||
发送消息
|
||||
"""
|
||||
#消息为空则不发送
|
||||
if send_data == []:
|
||||
return
|
||||
|
||||
logger.info("-------------send_data-------------------")
|
||||
logger.info(",".join(send_data))
|
||||
#获取对应任务ID的记录详情
|
||||
|
||||
Reference in New Issue
Block a user