[weather/master] Fixed #9760 - I think.

commit c3657f2781fc2ce82c7243283bc57e7a67d635f8 Author: Christian Fromme <kaner@strace.org> Date: Sun Sep 21 14:00:45 2014 +0200 Fixed #9760 - I think. There was a problem with handling multiple subscribe requsts for a username/node pair. --- weather/weatherapp/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weather/weatherapp/views.py b/weather/weatherapp/views.py index 0b542de..1195dd8 100644 --- a/weather/weatherapp/views.py +++ b/weather/weatherapp/views.py @@ -46,14 +46,14 @@ def subscribe(request): try: subscriber = form.create_subscriber() except Exception, e: - return HttpResponseRedirect(e) + return HttpResponseRedirect(str(e)) else: # Creates subscriptions based on form data form.create_subscriptions(subscriber) # Spawn a daemon to send the confirmation email. confirm_auth = subscriber.confirm_auth - unsubs_auth = subscriber.unsubs_auth + unsubs_auth = subscriber.unsubs_auth addr = subscriber.email fingerprint = subscriber.router.fingerprint name = subscriber.router.name
participants (1)
-
kaner@torproject.org