Fix for api builder.

This commit is contained in:
echel0n 2014-06-30 09:37:42 -07:00
parent a16bf8ca2c
commit 2e8c8a262f

View file

@ -120,7 +120,7 @@ class Api(webserve.MainHandler):
def builder(self): def builder(self):
""" expose the api-builder template """ """ expose the api-builder template """
t = webserve.PageTemplate(file="apiBuilder.tmpl") t = webserve.PageTemplate(headers=self.request.headers, file="apiBuilder.tmpl")
def titler(x): def titler(x):
if not x or sickbeard.SORT_ARTICLE: if not x or sickbeard.SORT_ARTICLE: