diff --git a/spond/spond.py b/spond/spond.py index 30da785..2df9a3f 100644 --- a/spond/spond.py +++ b/spond/spond.py @@ -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: