From 62703f3cb748cfcae0ba1297d793a491a7254b19 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Mon, 21 Apr 2025 18:40:00 +0300 Subject: [PATCH] add event warning about adding url saved to archive --- app/library/DownloadQueue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/library/DownloadQueue.py b/app/library/DownloadQueue.py index a04e4f5a..b768e5b9 100644 --- a/app/library/DownloadQueue.py +++ b/app/library/DownloadQueue.py @@ -416,6 +416,7 @@ class DownloadQueue(metaclass=Singleton): if downloaded is True and id_dict: message = f"This url with ID '{id_dict.get('id')}' has been downloaded already and recorded in archive." LOG.info(message) + await self._notify.emit(Events.LOG_WARNING, data=event_warning(message)) return {"status": "error", "msg": message} started = time.perf_counter()