mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 03:55:26 +00:00
🐛 Fix daily note task status update
This commit is contained in:
parent
434a6c8dd4
commit
b13df44e19
@ -249,8 +249,6 @@ class DailyNoteSystem(Plugin):
|
||||
try:
|
||||
async with self.genshin_helper.genshin(user_id) as client:
|
||||
text = await self.start_get_notes(client, task_db)
|
||||
if all(not i for i in text):
|
||||
continue
|
||||
except InvalidCookies:
|
||||
text = "自动便签提醒执行失败,Cookie无效"
|
||||
task_db.status = TaskStatusEnum.INVALID_COOKIES
|
||||
|
Loading…
Reference in New Issue
Block a user