mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-01 10:34:51 +00:00
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:
parent
b45f97040c
commit
3c94692744
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue