From 0fa7e31c796b2f8721b260f9dbc3c232ea261364 Mon Sep 17 00:00:00 2001 From: NegatedVoid Date: Wed, 6 Jul 2011 12:53:38 +0100 Subject: [PATCH] Fixes Bug #197, updates API endpoint to work with the new Auth API --- auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.py b/auth.py index 2057fc7..3d258e6 100644 --- a/auth.py +++ b/auth.py @@ -17,7 +17,7 @@ class DredditAuthBackend: if username and password: # Call the webservice - api_url = 'https://auth.pleaseignore.com/api/login/' + api_url = 'https://auth.pleaseignore.com/api/1.0/login/' params = { 'user': username, 'pass': sha1(password).hexdigest() } try: raw = urllib2.urlopen('%s?%s' % (api_url, urllib.urlencode(params)))