Update pylast.py

_get_proxy is undefined in _Request, the network was missing here.
This commit is contained in:
Peter Jeschke 2014-12-23 11:02:42 +01:00
parent 8670a2f2d1
commit 813a72b61a

View file

@ -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(