Fix location that gets used for open-ended responses

This commit is contained in:
Diana Huang
2012-12-03 16:52:29 -05:00
parent 65c56edb5c
commit 9b1cad90b5

View File

@@ -149,7 +149,7 @@ class CapaModule(XModule):
# Need the problem location in openendedresponse to send out. Adding
# it to the system here seems like the least clunky way to get it
# there.
self.system.set('location', self.location)
self.system.set('location', self.location.url())
try:
# TODO (vshnayder): move as much as possible of this work and error