Moved extra settings into state. Added fs module for aux content

This commit is contained in:
Piotr Mitros
2012-05-07 20:13:30 -04:00
parent a0ecbca080
commit e1ac5e9f30
9 changed files with 49 additions and 33 deletions

View File

@@ -131,8 +131,8 @@ class Module(XModule):
return html
def __init__(self, xml, item_id, ajax_url=None, track_url=None, state=None, track_function=None, render_function = None, meta = None):
XModule.__init__(self, xml, item_id, ajax_url, track_url, state, track_function, render_function)
def __init__(self, system, xml, item_id, state=None):
XModule.__init__(self, system, xml, item_id, state)
self.attempts = 0
self.max_attempts = None