mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fixes issue #161
This commit is contained in:
parent
e0f52e1045
commit
a5836afa4f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue