Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kaif-00z authored Jun 11, 2024
1 parent 2335eb4 commit bf727f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ async def async_searcher(

async def cover_dl(self, link):
try:
if not link:
return None
image = await self.async_searcher(link, re_content=True)
fn = f"thumbs/{link.split('/')[-1]}"
if not fn.endswith((".jpg" or ".png")):
Expand Down

0 comments on commit bf727f5

Please sign in to comment.