Fixed bug in queue.
This commit is contained in:
parent
977669ac55
commit
e846333203
2 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ class DownloadQueue:
|
||||||
|
|
||||||
if self.queue.exists(key=entry['id'], url=entry.get('webpage_url') or entry['url']):
|
if self.queue.exists(key=entry['id'], url=entry.get('webpage_url') or entry['url']):
|
||||||
logging.info(
|
logging.info(
|
||||||
f'Item [{entry["id"]} {entry["title"]}] already in download queue.')
|
f'Item [{item.info.title}] already in download queue')
|
||||||
return {'status': 'error', 'msg': 'Link already queued for downloading.'}
|
return {'status': 'error', 'msg': 'Link already queued for downloading.'}
|
||||||
|
|
||||||
dl = ItemDTO(
|
dl = ItemDTO(
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ onMounted(() => {
|
||||||
config.tasks = initialData['tasks'];
|
config.tasks = initialData['tasks'];
|
||||||
|
|
||||||
for (const id in initialData['queue']) {
|
for (const id in initialData['queue']) {
|
||||||
downloading[id] = initialData['done'][id];
|
downloading[id] = initialData['queue'][id];
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const id in initialData['done']) {
|
for (const id in initialData['done']) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue