Fixed bug in queue.

This commit is contained in:
ArabCoders 2023-12-15 13:52:06 +03:00
parent 977669ac55
commit e846333203
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ class DownloadQueue:
if self.queue.exists(key=entry['id'], url=entry.get('webpage_url') or entry['url']):
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.'}
dl = ItemDTO(

View file

@ -59,7 +59,7 @@ onMounted(() => {
config.tasks = initialData['tasks'];
for (const id in initialData['queue']) {
downloading[id] = initialData['done'][id];
downloading[id] = initialData['queue'][id];
}
for (const id in initialData['done']) {