mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 13:10: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()
|
||||
elif to_execute == "kill":
|
||||
task_id = RedisArchivist().get_message("dl_queue_id")
|
||||
if not task_id["status"]:
|
||||
if not isinstance(task_id, str):
|
||||
task_id = False
|
||||
else:
|
||||
print("brutally killing " + task_id)
|
||||
|
Loading…
Reference in New Issue
Block a user