From 2e8c8a262fab094108459b152b9180b88b6fa658 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 30 Jun 2014 09:37:42 -0700 Subject: [PATCH] Fix for api builder. --- sickbeard/webapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/webapi.py b/sickbeard/webapi.py index ffa7701c..4ec6d45b 100644 --- a/sickbeard/webapi.py +++ b/sickbeard/webapi.py @@ -120,7 +120,7 @@ class Api(webserve.MainHandler): def builder(self): """ expose the api-builder template """ - t = webserve.PageTemplate(file="apiBuilder.tmpl") + t = webserve.PageTemplate(headers=self.request.headers, file="apiBuilder.tmpl") def titler(x): if not x or sickbeard.SORT_ARTICLE: