mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-20 02:18:59 +00:00
Don't remove folder on Home Assistant restore
This commit is contained in:
@@ -508,7 +508,7 @@ class HomeAssistant(FileConfiguration, CoreSysAttributes):
|
||||
tmp_dir=self.sys_config.path_tmp,
|
||||
)
|
||||
else:
|
||||
remove_folder(self.sys_config.path_homeassistant)
|
||||
remove_folder(self.sys_config.path_homeassistant, content_only=True)
|
||||
|
||||
try:
|
||||
shutil.copytree(
|
||||
|
||||
Reference in New Issue
Block a user