Tidying up

This commit is contained in:
Hafitz Setya 2021-05-02 15:41:39 +07:00 committed by GitHub
parent 1c8b831f81
commit 50b95b068c
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,8 @@ class AriaDownloadHelper(DownloadHelper):
gdrive = GoogleDriveHelper(None) gdrive = GoogleDriveHelper(None)
smsg, button = gdrive.drive_list(sname) smsg, button = gdrive.drive_list(sname)
if smsg: 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') 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) sendMarkup("Here are the search results: 👇", dl.getListener().bot, dl.getListener().update, button)
aria2.remove([download]) aria2.remove([download])
size = download.total_length size = download.total_length