From 50b95b068c51d319b0eb68d43ca4b2c982dc05e7 Mon Sep 17 00:00:00 2001 From: Hafitz Setya <71178188+breakdowns@users.noreply.github.com> Date: Sun, 2 May 2021 15:41:39 +0700 Subject: [PATCH] Tidying up --- bot/helper/mirror_utils/download_utils/aria2_download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/helper/mirror_utils/download_utils/aria2_download.py b/bot/helper/mirror_utils/download_utils/aria2_download.py index d440c8738f1..72c6d4c6160 100644 --- a/bot/helper/mirror_utils/download_utils/aria2_download.py +++ b/bot/helper/mirror_utils/download_utils/aria2_download.py @@ -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