diff --git a/deluge/ui/web/index.html b/deluge/ui/web/index.html index ef4b07df3..0eb3b7cef 100644 --- a/deluge/ui/web/index.html +++ b/deluge/ui/web/index.html @@ -7,14 +7,17 @@ - %for stylesheet in stylesheets: + % for stylesheet in stylesheets: - %endfor + % endfor - %for script in scripts: + % for script in scripts: - %endfor + % endfor +
diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index 4f82b497f..186852910 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -425,7 +425,7 @@ class TopLevel(resource.Resource): template = Template(filename=rpath("index.html")) request.setHeader("content-type", "text/html; charset=utf-8") - return template.render(scripts=scripts, stylesheets=self.stylesheets) + return template.render(scripts=scripts, stylesheets=self.stylesheets, debug=debug) class ServerContextFactory: