兼容linux

This commit is contained in:
liuwei
2025-05-20 18:19:53 +08:00
parent 0fdd980b46
commit 5c2ff540be

View File

@@ -112,7 +112,8 @@ class VideoManPlugin(MessagePluginInterface):
return False, "视频下载失败"
# 发送视频
result = await self.bot.send_video_message((roomid if roomid else sender), Path(file_abspath),Path(first_frame))
result = await self.bot.send_video_message((roomid if roomid else sender), Path(file_abspath),
Path(first_frame))
self.LOG.info(f"发送视频结果: {result}")
return True, "发送成功"