mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 19:09:41 +00:00
Change timezone handling (#641)
* Change timezone handling * Update dt.py * Update homeassistant.py * fix * Use new timezone * fix handling * fix regex * fix regex * Rename old config * fix lint * simplify * fix regex * fix * cleanup * cleanup * fix * fix find * mm
This commit is contained in:
@@ -66,10 +66,11 @@ def initialize_system_data(coresys):
|
||||
config = coresys.config
|
||||
|
||||
# homeassistant config folder
|
||||
if not config.path_config.is_dir():
|
||||
if not config.path_homeassistant.is_dir():
|
||||
_LOGGER.info(
|
||||
"Create Home-Assistant config folder %s", config.path_config)
|
||||
config.path_config.mkdir()
|
||||
"Create Home-Assistant config folder %s",
|
||||
config.path_homeassistant)
|
||||
config.path_homeassistant.mkdir()
|
||||
|
||||
# hassio ssl folder
|
||||
if not config.path_ssl.is_dir():
|
||||
|
||||
Reference in New Issue
Block a user