From 5edff0250776efc4ead25431084115471c9ae545 Mon Sep 17 00:00:00 2001 From: 5hojib Date: Thu, 29 Aug 2024 04:47:44 +0000 Subject: [PATCH] Auto-format code [skip actions] --- bot/helper/ext_utils/bot_utils.py | 2 +- bot/helper/mirror_leech_utils/upload_utils/gdriveTools.py | 2 +- bot/modules/bot_settings.py | 2 +- bot/modules/status.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bot/helper/ext_utils/bot_utils.py b/bot/helper/ext_utils/bot_utils.py index 207ffe8da..d486e2d47 100644 --- a/bot/helper/ext_utils/bot_utils.py +++ b/bot/helper/ext_utils/bot_utils.py @@ -29,9 +29,9 @@ bot_name, user_data, config_dict, - bot_start_time, download_dict, extra_buttons, + bot_start_time, download_dict_lock, ) from bot.helper.aeon_utils.tinyfy import tinyfy diff --git a/bot/helper/mirror_leech_utils/upload_utils/gdriveTools.py b/bot/helper/mirror_leech_utils/upload_utils/gdriveTools.py index f668a3105..ea09dc981 100644 --- a/bot/helper/mirror_leech_utils/upload_utils/gdriveTools.py +++ b/bot/helper/mirror_leech_utils/upload_utils/gdriveTools.py @@ -26,8 +26,8 @@ from bot import GLOBAL_EXTENSION_FILTER, config_dict, list_drives_dict from bot.helper.aeon_utils.metadata import add_attachment from bot.helper.ext_utils.bot_utils import ( - is_mkv, SetInterval, + is_mkv, async_to_sync, get_readable_file_size, ) diff --git a/bot/modules/bot_settings.py b/bot/modules/bot_settings.py index 8c3718e8e..c355f54f8 100644 --- a/bot/modules/bot_settings.py +++ b/bot/modules/bot_settings.py @@ -30,7 +30,7 @@ status_reply_dict_lock, ) from bot.modules.torrent_search import initiate_search_tools -from bot.helper.ext_utils.bot_utils import new_thread, SetInterval, sync_to_async +from bot.helper.ext_utils.bot_utils import SetInterval, new_thread, sync_to_async from bot.helper.ext_utils.db_handler import DbManager from bot.helper.ext_utils.help_strings import bset_display_dict from bot.helper.ext_utils.task_manager import start_from_queued diff --git a/bot/modules/status.py b/bot/modules/status.py index 8a839dc4b..ecb5dd256 100644 --- a/bot/modules/status.py +++ b/bot/modules/status.py @@ -7,15 +7,15 @@ from bot import ( Interval, bot, - bot_start_time, download_dict, + bot_start_time, download_dict_lock, status_reply_dict_lock, ) from bot.helper.ext_utils.bot_utils import ( + SetInterval, new_task, turn_page, - SetInterval, get_readable_time, get_readable_file_size, )