diff --git a/bot/modules/mirror.py b/bot/modules/mirror.py index 014a4d636e8..689ff7f184c 100644 --- a/bot/modules/mirror.py +++ b/bot/modules/mirror.py @@ -2,7 +2,7 @@ from telegram.ext import CommandHandler from telegram import InlineKeyboardMarkup -from bot import Interval, INDEX_URL, BUTTON_FOUR_NAME, BUTTON_FOUR_URL, BUTTON_FIVE_NAME, BUTTON_FIVE_URL, BUTTON_SIX_NAME, BUTTON_SIX_URL, BLOCK_MEGA_FOLDER, BLOCK_MEGA_LINKS, VIEW_LINK, aria2, get_client +from bot import Interval, INDEX_URL, BUTTON_FOUR_NAME, BUTTON_FOUR_URL, BUTTON_FIVE_NAME, BUTTON_FIVE_URL, BUTTON_SIX_NAME, BUTTON_SIX_URL, BLOCK_MEGA_FOLDER, BLOCK_MEGA_LINKS, VIEW_LINK, aria2 from bot import dispatcher, DOWNLOAD_DIR, download_dict, download_dict_lock, SHORTENER, SHORTENER_API, TAR_UNZIP_LIMIT from bot.helper.ext_utils import fs_utils, bot_utils from bot.helper.ext_utils.shortenurl import short_url @@ -55,8 +55,6 @@ def onDownloadProgress(self): def clean(self): try: aria2.purge() - get_client().torrents_delete(torrent_hashes="all", delete_files=True) - get_client().auth_log_out() Interval[0].cancel() del Interval[0] delete_all_messages()