fix breakage in problem checker caused by LoncapaProblem taking a file object in its constructor instead of a filename
This commit is contained in:
committed by
Calen Pennington
parent
accdbdd660
commit
3cbb74aee7
@@ -127,7 +127,7 @@ class LoncapaProblem(object):
|
||||
responder.preprocess_response()
|
||||
|
||||
def __unicode__(self):
|
||||
return u"LoncapaProblem ({0})".format(os.path.basename(self.filename))
|
||||
return u"LoncapaProblem ({0})".format(os.path.basename(self.fileobject.name))
|
||||
|
||||
def get_state(self):
|
||||
''' Stored per-user session data neeeded to:
|
||||
|
||||
Reference in New Issue
Block a user