remove assumption that LoncapaProblem.fileobject is actually a file on the filesystem

This commit is contained in:
David Ormsbee
2012-05-17 17:58:07 -04:00
committed by Calen Pennington
parent b096981482
commit 46e108e15b

View File

@@ -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: