Update pylast.py
_get_proxy is undefined in _Request, the network was missing here.
This commit is contained in:
parent
8670a2f2d1
commit
813a72b61a
1 changed files with 1 additions and 1 deletions
|
@ -1109,7 +1109,7 @@ class _Request(object):
|
|||
|
||||
if self.network.is_proxy_enabled():
|
||||
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:
|
||||
conn.request(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue