Cleanup git auto-update

This commit is contained in:
Otto Winter 2018-11-15 10:13:32 +01:00
parent f394968bd0
commit f88cf99b67
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -239,10 +239,7 @@ def update_esphomelib_repo(config):
if rc != 0:
_LOGGER.warn("Couldn't auto-update local git copy of esphomelib.")
return
stdout = stdout.strip()
if 'Already up to date' in stdout:
return
safe_print(stdout)
safe_print(stdout.strip())
def to_code(config):