diff --git a/bot/__init__.py b/bot/__init__.py index 87757fdeb..559f28231 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -1,6 +1,7 @@ import os import subprocess from asyncio import Lock, new_event_loop, set_event_loop +from datetime import datetime from logging import ( ERROR, INFO, @@ -14,7 +15,6 @@ ) from socket import setdefaulttimeout from time import time -from datetime import datetime from apscheduler.schedulers.asyncio import AsyncIOScheduler from aria2p import API as ariaAPI # noqa: N811 diff --git a/bot/modules/services.py b/bot/modules/services.py index b38977121..6025ad7cb 100644 --- a/bot/modules/services.py +++ b/bot/modules/services.py @@ -9,10 +9,10 @@ from bot.helper.telegram_helper.bot_commands import BotCommands from bot.helper.telegram_helper.filters import CustomFilters from bot.helper.telegram_helper.message_utils import ( + delete_message, edit_message, send_file, send_message, - delete_message, ) diff --git a/update.py b/update.py index 156fa36e3..f4d42d5f4 100644 --- a/update.py +++ b/update.py @@ -1,3 +1,4 @@ +from datetime import datetime from importlib import import_module from logging import ( ERROR, @@ -9,7 +10,6 @@ basicConfig, getLogger, ) -from datetime import datetime from logging import ( error as log_error, )