Skip to content

Commit

Permalink
Cleanup debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarzaa90 committed Aug 20, 2019
1 parent 2ec578b commit 78993e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tibiapy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ async def _post(self, url, data):
try:
async with self.session.post(url, data=data) as resp:
self._handle_status(resp.status)
var = await resp.text()
return var
return await resp.text()
except aiohttp.ClientError as e:
raise NetworkError("aiohttp.ClientError: %s" % e, e)

Expand Down

0 comments on commit 78993e3

Please sign in to comment.