Skip to content

Commit

Permalink
🐛 Fix daily note task status update
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Jul 28, 2023
1 parent 434a6c8 commit b13df44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/tools/daily_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ async def do_get_notes_job(self, context: "ContextTypes.DEFAULT_TYPE"):
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
Expand Down

0 comments on commit b13df44

Please sign in to comment.