feeds: don't add fragment to main sounds
authorFrédéric Péters <fpeters@0d.be>
Tue, 17 Mar 2020 19:34:36 +0000 (20:34 +0100)
committerFrédéric Péters <fpeters@0d.be>
Tue, 17 Mar 2020 19:34:36 +0000 (20:34 +0100)
panikweb/views.py

index 8bb25f3..8c19fa9 100644 (file)
@@ -754,7 +754,7 @@ class PodcastsFeed(Feed):
     def item_link(self, item):
         if item.fragment:
             return item.episode.get_absolute_url() + '#%s' % item.id
-        return item.episode.get_absolute_url() + '#%s' % item.id
+        return item.episode.get_absolute_url()
 
     def item_enclosure_url(self, item):
         current_site = Site.objects.get(id=settings.SITE_ID)