Skip to content

Commit

Permalink
Refactor: remove unnecessary assignment before return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
elliot-100 committed Oct 22, 2024
1 parent 12839d3 commit 9d87d0c
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 @@ -384,8 +384,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 9d87d0c

Please sign in to comment.