fix self-link element in atom feed
1 files changed, 3 insertions(+), 3 deletions(-)

M quiescent/feed.py
M quiescent/feed.py +3 -3
@@ 30,9 30,9 @@ def _feed(all_posts, date=None, name=Non
     title.text = name
     link = ET.SubElement(_feed, 'link')
     link.attrib['href'] = domain
-    feed_link = ET.SubElement(_feed, 'link')
-    feed_link.attrib['href'] = urljoin(domain, feed_link)
-    feed_link.attrib['rel'] = 'self'
+    feed_link_element = ET.SubElement(_feed, 'link')
+    feed_link_element.attrib['href'] = urljoin(domain, feed_link)
+    feed_link_element.attrib['rel'] = 'self'
     updated = ET.SubElement(_feed, 'updated')
     updated.text = date.isoformat()
     author = ET.SubElement(_feed, 'author')