From 25f607b9123d971a6be0fc7786840e0cce049ec6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Thu, 4 Jun 2015 12:00:36 +0200 Subject: [PATCH] [Feeds] fix variable name in feeddownloader --- mygpo/data/feeddownloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mygpo/data/feeddownloader.py b/mygpo/data/feeddownloader.py index cb95b401..6f24fb1b 100755 --- a/mygpo/data/feeddownloader.py +++ b/mygpo/data/feeddownloader.py @@ -94,11 +94,11 @@ def update_podcast(podcast_url): try: p = Podcast.objects.get(urls__url=podcast_url) # if it exists already, we mark it as outdated - _mark_outdated(p, 'error while fetching feed: %s' % str(ex)) + _mark_outdated(p, 'error while fetching feed: %s' % str(nee)) return p except Podcast.DoesNotExist: - raise NoPodcastCreated(ex) + raise NoPodcastCreated(nee) assert parsed, 'fetch_feed must return something' p = Podcast.objects.get_or_create_for_url(podcast_url) -- 2.11.4.GIT