From 3c9469274459e0171bf088f2f4242f15dd0d15f2 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 27 Aug 2023 13:12:42 +0700 Subject: [PATCH] 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> --- misskaty/plugins/web_scraper.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/misskaty/plugins/web_scraper.py b/misskaty/plugins/web_scraper.py index c8e570b1..d596c9b2 100644 --- a/misskaty/plugins/web_scraper.py +++ b/misskaty/plugins/web_scraper.py @@ -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