Skip to content

Commit

Permalink
added todo task
Browse files Browse the repository at this point in the history
  • Loading branch information
fcusson committed May 7, 2024
1 parent 8df59dd commit bece64f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/spotcast/spotcast_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ def get_token_instance(self, account: str = None) -> any:
"""Get token instance for account"""
if account is None:
account = "default"

# TODO: add error logging when user provide invalid account
# name
dc = self.accounts.get(account).get(CONF_SP_DC)
key = self.accounts.get(account).get(CONF_SP_KEY)

Expand Down

0 comments on commit bece64f

Please sign in to comment.