diff --git a/bot/helper/listeners/qbit_listener.py b/bot/helper/listeners/qbit_listener.py index f9738df2447f..578ed1a20470 100644 --- a/bot/helper/listeners/qbit_listener.py +++ b/bot/helper/listeners/qbit_listener.py @@ -98,11 +98,11 @@ async def _stop_duplicate(tor): button ) = await stop_duplicate_check(task.listener) if msg: - _on_download_error( + await _on_download_error( msg, tor, button - ) # type: ignore + ) @new_task @@ -117,10 +117,10 @@ async def _size_checked(tor): LOGGER.info( f"qBit Limit Exceeded: {task.listener.name} | {get_readable_file_size(task.listener.size)}" ) - _on_download_error( + await _on_download_error( limit_exceeded, tor - ) # type: ignore + ) @new_task diff --git a/requirements.txt b/requirements.txt index d9d4023b25ce..be03e6627c09 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,4 +31,4 @@ tgcrypto urllib3 uvloop xattr -yt-dlp \ No newline at end of file +yt-dlp[default] \ No newline at end of file