Beginning to merge new settings file

--HG--
branch : pmitros-dormsbee-settings2
rename : settings_new_askbot.py => settings.py
This commit is contained in:
Piotr Mitros
2012-02-20 11:29:12 -05:00
parent ffba3c59a5
commit 7bd509b7ed
11 changed files with 730 additions and 491 deletions

View File

@@ -175,7 +175,7 @@ class Module(XModule):
self.attempts=state['attempts']
self.filename=content_parser.item(dom2.xpath('/problem/@filename'))
filename=settings.DATA_DIR+"problems/"+self.filename+".xml"
filename=settings.DATA_DIR+"/problems/"+self.filename+".xml"
self.name=content_parser.item(dom2.xpath('/problem/@name'))
self.lcp=LoncapaProblem(filename, self.item_id, state)