From 6e226326fd7a4f2cf619c5fcfab16abe522631b8 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Fri, 11 Jul 2014 23:55:12 +0200 Subject: [PATCH] http: Explicitly define template path for this router Fixes #774 --- mopidy/http/handlers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mopidy/http/handlers.py b/mopidy/http/handlers.py index 18b56de2..048c9ddf 100644 --- a/mopidy/http/handlers.py +++ b/mopidy/http/handlers.py @@ -152,6 +152,9 @@ class ClientListHandler(tornado.web.RequestHandler): self.apps = apps self.statics = statics + def get_template_path(self): + return os.path.dirname(__file__) + def get(self): set_mopidy_headers(self)