Commit efccdcd5 authored by fred's avatar fred

fix global feed

parent eec7b388
......@@ -845,7 +845,7 @@ class RssCustomPodcastsFeed(Rss201rev2Feed):
handler.addQuickElement('itunes:author', settings.RADIO_NAME)
handler.startElement('itunes:owner', {})
if emission.email:
if emission and emission.email:
handler.addQuickElement('itunes:email', emission.email)
else:
handler.addQuickElement('itunes:email', 'info@radiopanik.org')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment