mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix local dir config path
This commit is contained in:
parent
0f777ecd4c
commit
f93d6a1a11
@ -109,8 +109,6 @@ def _handle_get_local(handler, path_match, data):
|
||||
"""
|
||||
req_file = util.sanitize_path(path_match.group('file'))
|
||||
|
||||
path = os.path.join(get_default_config_dir(), 'www', req_file)
|
||||
if not os.path.isfile(path):
|
||||
return False
|
||||
path = handler.server.hass.config.path('www', req_file)
|
||||
|
||||
handler.write_file(path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user