Skip to content
Snippets Groups Projects
Commit d943f44f authored by Don Mitchell's avatar Don Mitchell Committed by Tom Giannattasio
Browse files

Append screw up (naive python goof)

parent b75bca25
No related merge requests found
......@@ -93,7 +93,7 @@ def update_course_updates(location, update, passed_id=None):
date_element = etree.SubElement(element, "h2")
date_element.text = update['date']
if new_html_parsed is not None:
element[1] = new_html_parsed
element.append(new_html_parsed)
else:
date_element.tail = update['content']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment