diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-12-06 00:23:52 -0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-12-06 00:23:52 -0800 |
commit | 4cf886bd7681f05bf7a70efecacd99d84a151e42 (patch) | |
tree | e50c4bb0bef9a7e0e00235ba571f727895db97a4 /pyblog | |
parent | 6aa3552cf87ba9cd7258bca0e7fa80beb925cd6d (diff) | |
download | my_new_personal_website-4cf886bd7681f05bf7a70efecacd99d84a151e42.tar.xz my_new_personal_website-4cf886bd7681f05bf7a70efecacd99d84a151e42.zip |
pyblog: Correct typos
Diffstat (limited to '')
-rwxr-xr-x | pyblog | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |