remove assumption that LoncapaProblem.fileobject is actually a file on the filesystem
This commit is contained in:
committed by
Calen Pennington
parent
b096981482
commit
46e108e15b
@@ -127,7 +127,7 @@ class LoncapaProblem(object):
|
||||
responder.preprocess_response()
|
||||
|
||||
def __unicode__(self):
|
||||
return u"LoncapaProblem ({0})".format(os.path.basename(self.fileobject.name))
|
||||
return u"LoncapaProblem ({0})".format(self.fileobject)
|
||||
|
||||
def get_state(self):
|
||||
''' Stored per-user session data neeeded to:
|
||||
|
||||
Reference in New Issue
Block a user