Commit 9266bcca by Victor Shnayder

fix stupid bug in textbook handling code

parent 317e2c34
...@@ -106,7 +106,7 @@ class CourseDescriptor(SequenceDescriptor): ...@@ -106,7 +106,7 @@ class CourseDescriptor(SequenceDescriptor):
# the rest of the courseware. # the rest of the courseware.
log.exception("Couldn't load textbook") log.exception("Couldn't load textbook")
continue continue
textbooks.append() textbooks.append(txt)
xml_object.remove(textbook) xml_object.remove(textbook)
#Load the wiki tag if it exists #Load the wiki tag if it exists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment