Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed XML format.

  • Loading branch information...
commit c16c0e7ddfcc747dbc71de973172b7211201c599 1 parent 2ca5ba9
@guilhermechapiewski authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 index.py
View
6 index.py
@@ -18,7 +18,7 @@ def get(self):
pass #will return empty result :)
if video:
- self.response.out.write(u'<result>')
+ self.response.out.write(u'<results>')
self.response.out.write(u' <video>')
self.response.out.write(u' <id>%s</id>' % video_id)
self.response.out.write(u' <url><![CDATA[%s]]></url>' % video.media.player.url)
@@ -50,9 +50,9 @@ def get(self):
self.response.out.write(u' </files>')
self.response.out.write(u' </video>')
- self.response.out.write(u'</result>')
+ self.response.out.write(u'</results>')
else:
- self.response.out.write(u'<result />')
+ self.response.out.write(u'<results />')
application = webapp.WSGIApplication(
[('/video.*', VideoResource)],
Please sign in to comment.
Something went wrong with that request. Please try again.