Merge pull request #1087 from Stranger6667/fix-get_socket

Fix typo
This commit is contained in:
Raphael Deem 2018-01-13 17:06:03 -08:00 committed by GitHub
commit be702b0924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,7 @@ class Request(dict):
@property @property
def socket(self): def socket(self):
if not hasattr(self, '_socket'): if not hasattr(self, '_socket'):
self._get_socket() self._get_address()
return self._socket return self._socket
def _get_address(self): def _get_address(self):