initial framework for htmlbook

This commit is contained in:
Brian Wilson
2013-03-06 17:57:33 -05:00
parent cde4cdf839
commit b5ab766092
4 changed files with 60 additions and 3 deletions

View File

@@ -358,6 +358,13 @@ class CourseDescriptor(SequenceDescriptor):
"""
return self.metadata.get('pdf_textbooks')
@property
def html_textbooks(self):
"""
Return the html_textbooks config, as a python object, or None if not specified.
"""
return self.metadata.get('html_textbooks')
@tabs.setter
def tabs(self, value):
self.metadata['tabs'] = value