1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Always upload using esptool (#2433)

This commit is contained in:
Otto Winter
2021-10-04 16:59:15 +02:00
committed by GitHub
parent 871d3b66fb
commit 8be4086224
4 changed files with 94 additions and 48 deletions

View File

@@ -542,6 +542,9 @@ class EsphomeCore:
path_ = os.path.expanduser(os.path.join(*path))
return os.path.join(self.config_dir, path_)
def relative_internal_path(self, *path: str) -> str:
return self.relative_config_path(".esphome", *path)
def relative_build_path(self, *path):
# pylint: disable=no-value-for-parameter
path_ = os.path.expanduser(os.path.join(*path))