fix bug
This commit is contained in:
@ -1767,7 +1767,8 @@ class BrushFlow(_PluginBase):
|
|||||||
"""
|
"""
|
||||||
发送删除种子的消息
|
发送删除种子的消息
|
||||||
"""
|
"""
|
||||||
if self._notify:
|
if not self._notify:
|
||||||
|
return
|
||||||
self.chain.post_message(Notification(
|
self.chain.post_message(Notification(
|
||||||
mtype=NotificationType.SiteMessage,
|
mtype=NotificationType.SiteMessage,
|
||||||
title=f"【刷流任务删种】",
|
title=f"【刷流任务删种】",
|
||||||
@ -1780,6 +1781,8 @@ class BrushFlow(_PluginBase):
|
|||||||
"""
|
"""
|
||||||
发送添加下载的消息
|
发送添加下载的消息
|
||||||
"""
|
"""
|
||||||
|
if not self._notify:
|
||||||
|
return
|
||||||
msg_text = ""
|
msg_text = ""
|
||||||
if torrent.site_name:
|
if torrent.site_name:
|
||||||
msg_text = f"站点:{torrent.site_name}"
|
msg_text = f"站点:{torrent.site_name}"
|
||||||
|
Reference in New Issue
Block a user