mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 03:40:14 +00:00
fix missing update_status method call in ignore video
This commit is contained in:
parent
e67d576d79
commit
f803c5298b
@ -112,7 +112,7 @@ class PostData:
|
|||||||
"""ignore from download queue"""
|
"""ignore from download queue"""
|
||||||
video_id = self.exec_val
|
video_id = self.exec_val
|
||||||
print(f"ignore video {video_id}")
|
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
|
# also clear from redis queue
|
||||||
RedisQueue("dl_queue").clear_item(video_id)
|
RedisQueue("dl_queue").clear_item(video_id)
|
||||||
return {"success": True}
|
return {"success": True}
|
||||||
|
Loading…
Reference in New Issue
Block a user