mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-17 22:26:30 +00:00
fix lint
This commit is contained in:
parent
a492bccc03
commit
9984a638ba
@ -100,7 +100,7 @@ class RestAPI(object):
|
|||||||
def register_panel(self):
|
def register_panel(self):
|
||||||
"""Register panel for homeassistant."""
|
"""Register panel for homeassistant."""
|
||||||
panel = Path(__file__).parents[1].joinpath('panel/hassio-main.html')
|
panel = Path(__file__).parents[1].joinpath('panel/hassio-main.html')
|
||||||
|
|
||||||
def get_panel(request):
|
def get_panel(request):
|
||||||
"""Return file response with panel."""
|
"""Return file response with panel."""
|
||||||
return web.FileResponse(panel)
|
return web.FileResponse(panel)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user