Skip to content

Commit

Permalink
Merge pull request #5 from LunarsDev/deepsource-fix-685145c1
Browse files Browse the repository at this point in the history
Remove unnecessary whitespace
  • Loading branch information
WinterFe authored Sep 13, 2022
2 parents 99ace3e + 60b86de commit 46d9ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lunarapi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, response: ClientResponse) -> None:
class Image(BaseModel):
async def bytes(self) -> bytes:
return await self.response.read()

async def file(self, module: DiscordT): # sourcery skip: avoid-builtin-shadow
b = await self.response.read()
return module.File(BytesIO(b), "image.png")
Expand Down

0 comments on commit 46d9ba6

Please sign in to comment.