Update pylast.py
_get_proxy is undefined in _Request, the network was missing here.
This commit is contained in:
parent
8670a2f2d1
commit
813a72b61a
|
@ -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