From 8f0facdea2e74d3d47eafffad64d4f8d7c4bfbb1 Mon Sep 17 00:00:00 2001 From: zYxDevs Date: Tue, 12 Sep 2023 16:47:30 +0000 Subject: [PATCH] Automated code formatting Signed-off-by: zYxDevs --- wibuapi/utils.py | 1 + wibuapi/wibuapi_async.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wibuapi/utils.py b/wibuapi/utils.py index 006933f..a986ac1 100644 --- a/wibuapi/utils.py +++ b/wibuapi/utils.py @@ -1,5 +1,6 @@ import aiohttp + async def getwibu(url: str, timeout: int): async with aiohttp.ClientSession() as session: async with session.get(url, timeout=timeout) as response: diff --git a/wibuapi/wibuapi_async.py b/wibuapi/wibuapi_async.py index 719d192..42a1a89 100644 --- a/wibuapi/wibuapi_async.py +++ b/wibuapi/wibuapi_async.py @@ -62,7 +62,7 @@ async def kusonime(self, link: str): return await getwibu(url, timeout=15) except Exception as e: return f"ERROR: {str(e)}. Report to https://t.me/YBotsSupport" - + async def doronime(self, link: str): try: url = f"{self.base_url}/anime/doronime?link={link}" @@ -90,4 +90,3 @@ async def moenime(self, link: str): return await getwibu(url, timeout=15) except Exception as e: return f"ERROR: {str(e)}. Report to https://t.me/YBotsSupport" -