From 58c0c677969fe42d05e4cdd93612857dab6db6b9 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 19 May 2017 23:26:41 +0200 Subject: [PATCH] Update __init__.py --- hassio/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/api/__init__.py b/hassio/api/__init__.py index 02a40665b..4ba2c1dae 100644 --- a/hassio/api/__init__.py +++ b/hassio/api/__init__.py @@ -101,7 +101,7 @@ class RestAPI(object): """Register panel for homeassistant.""" panel = Path(__file__).parents[1].joinpath('panel/hassio-main.html') - def get_panel(): + def get_panel(request): """Return file response with panel.""" return web.FileResponse(panel)