Skip to content

Commit

Permalink
Merge pull request #25 from zYxDevs/autofix
Browse files Browse the repository at this point in the history
Black Format code.
  • Loading branch information
zYxDevs authored Sep 12, 2023
2 parents e161499 + 8f0facd commit 8726991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions wibuapi/utils.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 1 addition & 2 deletions wibuapi/wibuapi_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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"

0 comments on commit 8726991

Please sign in to comment.