Skip to content

Commit

Permalink
fix(UI): Return full path to knx_ui.js
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-w committed Apr 27, 2022
1 parent 0bddf70 commit b9de290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xknx_custom_panel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

def get_knx_ui() -> str:
"""Get path to KNX UI."""
return os.path.dirname(os.path.realpath(__file__)).replace("__init__.py", "knx_ui.js")
return os.path.dirname(os.path.realpath(__file__)) + "/knx_ui.js"

0 comments on commit b9de290

Please sign in to comment.