Skip to content

Commit

Permalink
fix(helpers): correctly treat add_devices with empty list as non error
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Sep 11, 2019
1 parent 568aa3c commit 168101d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/alexa_media/helpers.py
Expand Up @@ -56,7 +56,8 @@ async def add_devices(account: Text,
_LOGGER.debug("%s: Unable to add devices: %s",
account,
message)

else:
return True
return False


Expand Down

0 comments on commit 168101d

Please sign in to comment.