diff options
author | Marius Halden <marius.h@lden.org> | 2015-06-03 02:11:41 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-06-03 02:11:41 +0200 |
commit | 95db522578303da70654939091b49fd9ce993699 (patch) | |
tree | c05e58dee0acf77e16711f27293eaf55deb4b6a7 | |
parent | 9340e0e0cf534aa2c57d1f0f82dbf24e04b89862 (diff) | |
download | push-client-95db522578303da70654939091b49fd9ce993699.tar.gz push-client-95db522578303da70654939091b49fd9ce993699.tar.bz2 push-client-95db522578303da70654939091b49fd9ce993699.tar.xz |
Ooops…
-rwxr-xr-x | push.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ class PushClient: def login(self, username, password): params = urllib.parse.urlencode({'email': username, 'password': password}) - conn.request('POST', '/1/users/login.json', params, self.headers) + self.conn.request('POST', '/1/users/login.json', params, self.headers) resp = self.conn.getresponse() if resp.status != http.client.OK: raise HTTPError(resp.status) |