Commit b43f6508 by Don Mitchell

Fix tab default

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