From 813a72b61a42232d8cf8f1fcab5cdc65aaba3fe0 Mon Sep 17 00:00:00 2001 From: Peter Jeschke Date: Tue, 23 Dec 2014 11:02:42 +0100 Subject: [PATCH] Update pylast.py _get_proxy is undefined in _Request, the network was missing here. --- pylast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylast.py b/pylast.py index f2d7268..e989134 100644 --- a/pylast.py +++ b/pylast.py @@ -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(