hotfix: eecs1 is inaccessible due to dead router; switch to qisx for pyxserver

This needs a more permanent solution.
This commit is contained in:
ichuang
2012-08-17 09:36:43 -04:00
parent b0627efc74
commit 4dbcfe927e

View File

@@ -1273,7 +1273,7 @@ main()
def setup_response(self):
xml = self.xml
self.url = xml.get('url') or "http://eecs1.mit.edu:8889/pyloncapa" # FIXME - hardcoded URL
self.url = xml.get('url') or "http://qisx.mit.edu:8889/pyloncapa" # FIXME - hardcoded URL
# answer = xml.xpath('//*[@id=$id]//answer',id=xml.get('id'))[0] # FIXME - catch errors
answer = xml.find('answer')