Skip to content

Commit 78993e3

Browse files
committed
Cleanup debugging code
1 parent 2ec578b commit 78993e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tibiapy/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ async def _post(self, url, data):
100100
try:
101101
async with self.session.post(url, data=data) as resp:
102102
self._handle_status(resp.status)
103-
var = await resp.text()
104-
return var
103+
return await resp.text()
105104
except aiohttp.ClientError as e:
106105
raise NetworkError("aiohttp.ClientError: %s" % e, e)
107106

0 commit comments

Comments
 (0)