From 392e2293e49fd9c7a96afa16e5dbcc749dd736ca Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Wed, 10 Jun 2015 00:26:35 -0700 Subject: pyblog: fix typo in atom feed subtitle Subtitle was added along with RSS, but I accidentally used instead of <subtitle> for the tag. --- pyblog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyblog') diff --git a/pyblog b/pyblog index 201f18c3..f59ddddf 100755 --- a/pyblog +++ b/pyblog @@ -473,7 +473,8 @@ def generate_index_and_feed(): feed.title_text = BLOG_TITLE feed.title = ET.fromstring("<title>{title}".format(title=BLOG_TITLE)) feed.subtitle_text = BLOG_DESCRIPTION - feed.subtitle = ET.fromstring("{subtitle}".format(subtitle=BLOG_DESCRIPTION)) + feed.subtitle = ET.fromstring("{subtitle}" + .format(subtitle=BLOG_DESCRIPTION)) # initialize rss feed rss = RssFeed() rss.rssurl = urllib.parse.urljoin(BLOG_HOME, "rss.xml") -- cgit v1.2.1