Skip to content

Commit

Permalink
Tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
breakdowns authored May 2, 2021
1 parent 1c8b831 commit 50b95b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/helper/mirror_utils/download_utils/aria2_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def __onDownloadStarted(self, api, gid):
gdrive = GoogleDriveHelper(None)
smsg, button = gdrive.drive_list(sname)
if smsg:
dl.getListener().onDownloadError(f'😡 File is already available in drive. You should have search before mirror any file. You might get ban if you do this again. This download has been stopped.\n\n')
sendMarkup("Here are the search results:👇", dl.getListener().bot, dl.getListener().update, button)
dl.getListener().onDownloadError(f'File is already available in drive.\n\n')
sendMarkup("Here are the search results: 👇", dl.getListener().bot, dl.getListener().update, button)
aria2.remove([download])

size = download.total_length
Expand Down

0 comments on commit 50b95b0

Please sign in to comment.