Commit b43f6508 by Don Mitchell

Fix tab default

parent cc6ef9c7
......@@ -409,8 +409,7 @@ class CourseDescriptor(CourseFields, SequenceDescriptor):
log.error(msg)
continue
# TODO check that this is still needed here and can't be by defaults.
if self.tabs is None:
if not self.tabs:
# When calling the various _tab methods, can omit the 'type':'blah' from the
# first arg, since that's only used for dispatch
tabs = []
......
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