This commit is contained in:
Otto Winter 2019-01-02 18:24:20 +01:00
parent dd801636af
commit 4948ad95b0
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -152,7 +152,7 @@ def write_cpp(config):
def compile_program(args, config):
_LOGGER.info("Compiling app...")
update_check = not os.getenv('ESPHOMEYAML_NO_UPDATE_CHECK', False)
update_check = not os.getenv('ESPHOMEYAML_NO_UPDATE_CHECK', '')
if update_check:
thread = start_update_check_thread(esphomeyaml_storage_path(CORE.config_dir))
rc = platformio_api.run_compile(config, args.verbose)