Skip to content

Commit

Permalink
Merge pull request #16 from nibrag/islice-fix
Browse files Browse the repository at this point in the history
islice fix
  • Loading branch information
nibrag authored Jul 8, 2017
2 parents c5dc48d + 0421f04 commit 3911560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiosocks/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def _create_socks_connection(self, req):
sslcontext = None

if not self._remote_resolve:
dst_hosts = await self._resolve_host(req.host, req.port)
dst_hosts = list(await self._resolve_host(req.host, req.port))
dst = dst_hosts[0]['host'], dst_hosts[0]['port']
else:
dst = req.host, req.port
Expand Down

0 comments on commit 3911560

Please sign in to comment.