Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
N/A

Signed-off-by: Dawn India <[email protected]>
  • Loading branch information
Dawn-India committed Nov 10, 2024
1 parent 46af496 commit 8172d4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bot/helper/listeners/qbit_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ tgcrypto
urllib3
uvloop
xattr
yt-dlp
yt-dlp[default]

0 comments on commit 8172d4f

Please sign in to comment.