调整排行执行逻辑
This commit is contained in:
4
robot.py
4
robot.py
@@ -650,7 +650,7 @@ class Robot(Job):
|
|||||||
try:
|
try:
|
||||||
if is_friday():
|
if is_friday():
|
||||||
games = get_free()
|
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:
|
except Exception as e:
|
||||||
self.LOG.error(f"sendEpicFreeGames error:{e}")
|
self.LOG.error(f"sendEpicFreeGames error:{e}")
|
||||||
|
|
||||||
@@ -667,7 +667,7 @@ class Robot(Job):
|
|||||||
self.LOG.info("开始生成PDF,generate_sehuatang_pdf")
|
self.LOG.info("开始生成PDF,generate_sehuatang_pdf")
|
||||||
path = pdf_file_path()
|
path = pdf_file_path()
|
||||||
# 暂时只发4K群
|
# 暂时只发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:
|
except Exception as e:
|
||||||
self.LOG.error(f"generateSehuatangPdf error:{e}")
|
self.LOG.error(f"generateSehuatangPdf error:{e}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user