From 4cf886bd7681f05bf7a70efecacd99d84a151e42 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sun, 6 Dec 2015 00:23:52 -0800 Subject: pyblog: Correct typos --- pyblog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyblog') diff --git a/pyblog b/pyblog index 593dd678..77187c95 100755 --- a/pyblog +++ b/pyblog @@ -414,7 +414,7 @@ def generate_sitemap(feed): sys.stderr.write("wrote sitemap.xml\n") -def abosolutify_links(soup, baseurl): +def absolutify_links(soup, baseurl): """Make links in an article absolute. Parameters @@ -529,7 +529,7 @@ def generate_index_and_feed(): for script_tag in article.find_all("script"): tags_to_remove.append(script_tag) # make internal links absolute - abosolutify_links(article, entry_url) + absolutify_links(article, entry_url) # remove marked tags for tag in tags_to_remove: tag.extract() -- cgit v1.2.1