Move imports to top for frontend (#29487)
This commit is contained in:
1 parent
ed5cdb528c
commit
204ca3f3a6
2 files changed
+2
-1
No files matched your search
@@ -242,6 +242,7 @@ def _frontend_root(dev_repo_path):
|
||||
if dev_repo_path is not None:
|
||||
return pathlib.Path(dev_repo_path) / "hass_frontend"
|
||||
# Keep import here so that we can import frontend without installing reqs
|
||||
# pylint: disable=import-outside-toplevel
|
||||
import hass_frontend
|
||||
|
||||
return hass_frontend.where()
|
||||
|
||||
Reference in new issue
Block a user