From 80aa0e7909512687c4dcdc5097dbd0dfd0fb7d58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sat, 27 Apr 2013 13:47:31 +0200 Subject: [PATCH] add missing redirect on missing device --- mygpo/web/views/podcast.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mygpo/web/views/podcast.py b/mygpo/web/views/podcast.py index ea3cc089..a7f4c5d0 100644 --- a/mygpo/web/views/podcast.py +++ b/mygpo/web/views/podcast.py @@ -298,6 +298,7 @@ def unsubscribe(request, podcast, device_uid): except DeviceDoesNotExist as e: messages.error(request, str(e)) + return HttpResponseRedirect(return_to) try: podcast.unsubscribe(request.user, device) -- 2.11.4.GIT