Daniel Sheffield 8 months ago
parent
commit
d29ffb6125
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rest/pyapi.py

+ 1 - 1
rest/pyapi.py

@@ -34,7 +34,7 @@ SELECT query_to_xml_and_xmlschema({q}, false, false, ''::text);
 @route('/pyapi/xslt')
 @route('/pyapi/xslt')
 def table():
 def table():
     response.content_type = 'application/xhtml+xml; charset=utf-8'
     response.content_type = 'application/xhtml+xml; charset=utf-8'
-    return static_file("rest/query-to-xml-xslt.xml", root="rest")
+    return static_file("query-to-xml-xslt.xml", root="rest")
 
 
 @route('/pyapi/pg')
 @route('/pyapi/pg')
 def specified():
 def specified():