1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-18 20:10:55 +00:00

Use abspath for config path

This commit is contained in:
NicoIIT 2025-01-07 11:10:02 +00:00 committed by NicoIIT
parent f319472066
commit 4ec88fe9ac

View File

@ -582,7 +582,7 @@ class EsphomeCore:
@property
def config_dir(self):
return os.path.dirname(self.config_path)
return os.path.dirname(os.path.abspath(self.config_path))
@property
def data_dir(self):