fix check config not working after #14211 (#14259)

pull/14283/head
Boyi C 2018-05-04 18:29:07 +08:00 committed by Pascal Vizeli
parent fa0ad7b317
commit c80b752d0e
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ async def async_check_ha_config_file(hass):
from homeassistant.scripts.check_config import check_ha_config_file
res = await hass.async_add_job(
check_ha_config_file, hass.config.config_dir)
check_ha_config_file, hass)
if not res.errors:
return None