Commit acb47459 by Sarina Canelake

local changes

parent 3e7ee8a0
...@@ -1273,7 +1273,7 @@ main() ...@@ -1273,7 +1273,7 @@ main()
def setup_response(self): def setup_response(self):
xml = self.xml xml = self.xml
self.url = xml.get('url') or "http://qisx.mit.edu:8889/pyloncapa" # FIXME - hardcoded URL # or "http://127.0.0.1:8080" self.url = xml.get('url') or "http://127.0.0.1:8080" # FIXME - hardcoded URL # or "http://qisx.mit.edu:8889/pyloncapa"
# answer = xml.xpath('//*[@id=$id]//answer',id=xml.get('id'))[0] # FIXME - catch errors # answer = xml.xpath('//*[@id=$id]//answer',id=xml.get('id'))[0] # FIXME - catch errors
answer = xml.find('answer') answer = xml.find('answer')
......
% if name is not UNDEFINED and name is not None: % if display_name is not UNDEFINED and display_name is not None:
<h1> ${display_name} </h1> <h2> ${display_name} </h2>
% endif % endif
<div id="video_${id}" class="video" data-streams="${streams}" data-caption-data-dir="${data_dir}"> <div id="video_${id}" class="video" data-streams="${streams}" data-caption-data-dir="${data_dir}">
......
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