Skip to content

Commit

Permalink
no need
Browse files Browse the repository at this point in the history
Signed-off-by: anas <[email protected]>
  • Loading branch information
anasty17 committed Aug 28, 2021
1 parent 8c87fa1 commit e058baa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bot/modules/mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e058baa

Please sign in to comment.