mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 21:20:15 +00:00
comparing with instance instead
This commit is contained in:
parent
35a5eda36e
commit
76f49b4cf7
@ -588,7 +588,7 @@ class PostData:
|
|||||||
RedisQueue("dl_queue").clear()
|
RedisQueue("dl_queue").clear()
|
||||||
elif to_execute == "kill":
|
elif to_execute == "kill":
|
||||||
task_id = RedisArchivist().get_message("dl_queue_id")
|
task_id = RedisArchivist().get_message("dl_queue_id")
|
||||||
if not task_id["status"]:
|
if not isinstance(task_id, str):
|
||||||
task_id = False
|
task_id = False
|
||||||
else:
|
else:
|
||||||
print("brutally killing " + task_id)
|
print("brutally killing " + task_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user