调整排行执行逻辑

This commit is contained in:
liuwei
2025-05-19 10:38:54 +08:00
parent 4de0fa3458
commit 1b7a9ed442

View File

@@ -650,7 +650,7 @@ class Robot(Job):
try:
if is_friday():
games = get_free()
self.send_group_txt_message(games, Feature.EPIC)
asyncio.run(self.send_group_txt_message(games, Feature.EPIC))
except Exception as e:
self.LOG.error(f"sendEpicFreeGames error{e}")
@@ -667,7 +667,7 @@ class Robot(Job):
self.LOG.info("开始生成PDF,generate_sehuatang_pdf")
path = pdf_file_path()
# 暂时只发4K群
self.send_group_file_message(path, Feature.PDF_CAPABILITY)
asyncio.run(self.send_group_file_message(path, Feature.PDF_CAPABILITY))
except Exception as e:
self.LOG.error(f"generateSehuatangPdf error{e}")