style: format code with black and isort (#277)

Format code with black and isort

This commit fixes the style issues introduced in b45f970 according to the output
from Black and isort.

Details: None

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
deepsource-autofix[bot] 2023-08-27 13:12:42 +07:00 committed by GitHub
parent b45f97040c
commit 3c94692744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ from pyrogram.types import Message
from database import dbname
from misskaty import app
from misskaty.core.decorator.ratelimiter import ratelimiter
from misskaty.helper import Cache, fetch, Kusonime, use_chat_lang
from misskaty.helper import Cache, Kusonime, fetch, use_chat_lang
__MODULE__ = "WebScraper"
__HELP__ = """
@ -334,9 +334,7 @@ async def getDataLendrive(msg, kueri, CurrentPage, user, strings):
follow_redirects=True,
)
else:
data = await fetch.get(
web["lendrive"], follow_redirects=True
)
data = await fetch.get(web["lendrive"], follow_redirects=True)
except Exception as err:
await msg.edit_msg(strings("err_getweb").format(err=err))
return None, 0, None