fix missing update_status method call in ignore video

This commit is contained in:
simon 2022-03-21 11:09:16 +07:00
parent e67d576d79
commit f803c5298b
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -112,7 +112,7 @@ class PostData:
"""ignore from download queue"""
video_id = self.exec_val
print(f"ignore video {video_id}")
PendingInteract(video_id=video_id, status="ignore")
PendingInteract(video_id=video_id, status="ignore").update_status()
# also clear from redis queue
RedisQueue("dl_queue").clear_item(video_id)
return {"success": True}