mirror of
https://github.com/esphome/esphome.git
synced 2025-02-07 13:40:59 +00:00
Use abspath for config path dir (#8044)
This commit is contained in:
parent
714e2d3e56
commit
7392397630
@ -582,7 +582,7 @@ class EsphomeCore:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def config_dir(self):
|
def config_dir(self):
|
||||||
return os.path.dirname(self.config_path)
|
return os.path.dirname(os.path.abspath(self.config_path))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def data_dir(self):
|
def data_dir(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user