Commit 46e108e1 by David Ormsbee Committed by Calen Pennington

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

parent b0969814
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment