调整异常扣分记录,如果是异常的数据,则不扣分
This commit is contained in:
@@ -111,7 +111,7 @@ class VideoManPlugin(MessagePluginInterface):
|
||||
if not file_abspath:
|
||||
self.message_util.send_text_msg(f"\n❌视频下载失败,请稍后再试",
|
||||
(roomid if roomid else sender), sender)
|
||||
return True, "视频下载失败"
|
||||
return False, "视频下载失败"
|
||||
|
||||
# 发送视频
|
||||
result = wcf.send_file(file_abspath, (roomid if roomid else sender))
|
||||
@@ -120,7 +120,7 @@ class VideoManPlugin(MessagePluginInterface):
|
||||
|
||||
except Exception as e:
|
||||
self.LOG.error(f"处理视频请求出错: {e}")
|
||||
return True, f"处理出错: {e}"
|
||||
return False, f"处理出错: {e}"
|
||||
|
||||
def _download_video(self, api_url):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user