Append screw up (naive python goof)
This commit is contained in:
committed by
Tom Giannattasio
parent
b75bca2583
commit
d943f44f10
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user