mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 11:58:01 -05:00
Fixes issue #161
This commit is contained in:
parent
e0f52e1045
commit
a5836afa4f
@ -80,7 +80,7 @@ class HTTPConnection(_HTTPConnection, object):
|
|||||||
|
|
||||||
def _prepare_conn(self, conn):
|
def _prepare_conn(self, conn):
|
||||||
self.sock = conn
|
self.sock = conn
|
||||||
if self._tunnel_host:
|
if getattr(self, '_tunnel_host', None):
|
||||||
# TODO: Fix tunnel so it doesn't depend on self.sock state.
|
# TODO: Fix tunnel so it doesn't depend on self.sock state.
|
||||||
self._tunnel()
|
self._tunnel()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user