Skip to content

Commit

Permalink
Fix order for legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 4, 2020
1 parent 1a059db commit 1a0437b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/hacs/operational/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ async def async_startup_wrapper_for_yaml():
)
hacs.log.info("Could not setup HACS, trying again in 15 min")
if int(hacs.system.ha_version.split(".")[1]) >= 117:
async_call_later(hacs.hass, 900, async_startup_wrapper_for_yaml())
else:
async_call_later(hacs.hass, 900, async_startup_wrapper_for_yaml)
else:
async_call_later(hacs.hass, 900, async_startup_wrapper_for_yaml())
return
hacs.system.disabled = False

Expand Down

0 comments on commit 1a0437b

Please sign in to comment.