Skip to content

Commit 985095b

Browse files
committed
REFACTOR: follows flake8 convention
1 parent 8e7d392 commit 985095b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wall_e/extensions/sfu.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def upload_error_logs(self):
5959
)
6060

6161
async def _embed_message(self, interaction: discord.Interaction, title, footer,
62-
content: Optional[list] = None, desc: Optional[str] = None):
62+
content: Optional[list] = None, desc: Optional[str] = None):
6363
e_obj = await embed(
6464
self.logger, interaction=interaction,
6565
title=title,
@@ -99,7 +99,7 @@ async def _req_data(self, url):
9999
while not res.content.at_eof():
100100
chunk = await res.content.readchunk()
101101
data += str(chunk[0].decode())
102-
res = json.loads(data) # TODO: do not need json anymore
102+
res = json.loads(data) # TODO: do not need json anymore
103103
return res, status
104104

105105
@app_commands.command(name="sfu",
@@ -338,7 +338,6 @@ async def outline(self, interaction: discord.Interaction, course: str, term: Opt
338338
content=fields)
339339
return
340340

341-
342341
async def cog_unload(self) -> None:
343342
await self.req.close()
344343
await super().cog_unload()

0 commit comments

Comments
 (0)