mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07:10 +00:00
Fix downloader path validation on subdir (#46061)
This commit is contained in:
parent
242ff045b9
commit
08163a848c
@ -70,8 +70,9 @@ def setup(hass, config):
|
|||||||
|
|
||||||
overwrite = service.data.get(ATTR_OVERWRITE)
|
overwrite = service.data.get(ATTR_OVERWRITE)
|
||||||
|
|
||||||
# Check the path
|
if subdir:
|
||||||
raise_if_invalid_path(subdir)
|
# Check the path
|
||||||
|
raise_if_invalid_path(subdir)
|
||||||
|
|
||||||
final_path = None
|
final_path = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user