diff --git a/robot.py b/robot.py index 223ce42..9612cbb 100644 --- a/robot.py +++ b/robot.py @@ -724,9 +724,9 @@ class Robot: async def generate_sehuatang_pdf(self): try: self.LOG.info("开始生成PDF,generate_sehuatang_pdf") - tag, path = pdf_file_path() + tag, path = pdf_file_path_undetected() if not tag: - tag, path = pdf_file_path_undetected() + tag, path = pdf_file_path() # 暂时只发4K群 await self.send_group_file_message(path, Feature.PDF_CAPABILITY) except Exception as e: