Merge pull request #104 from looperhacks/patch-1
get_proxy is undefined in _Request, the network was missing here.
This commit is contained in:
commit
32a6235f32
|
@ -1109,7 +1109,7 @@ class _Request(object):
|
||||||
|
|
||||||
if self.network.is_proxy_enabled():
|
if self.network.is_proxy_enabled():
|
||||||
conn = HTTPConnection(
|
conn = HTTPConnection(
|
||||||
host=self._get_proxy()[0], port=self._get_proxy()[1])
|
host=self.network._get_proxy()[0], port=self.network._get_proxy()[1])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
conn.request(
|
conn.request(
|
||||||
|
|
Loading…
Reference in a new issue