Skip to content

Commit

Permalink
Refactor: remove unnecessary assignment to output_data before `retu…
Browse files Browse the repository at this point in the history
…rn` statement
  • Loading branch information
elliot-100 committed Oct 21, 2024
1 parent 800012a commit b56ba97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spond/spond.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,7 @@ async def get_event_attendance_xlsx(self, uid: str) -> bytes:
"""
url = f"{self.api_url}sponds/{uid}/export"
async with self.clientsession.get(url, headers=self.auth_headers) as r:
output_data = await r.read()
return output_data
return await r.read()

@_SpondBase.require_authentication
async def change_response(self, uid: str, user: str, payload: JSONDict) -> JSONDict:
Expand Down

0 comments on commit b56ba97

Please sign in to comment.