mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-06 03:18: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):
|
||||
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.
|
||||
self._tunnel()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user