Skip to content

Commit

Permalink
Fix issue with validating token
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Mar 18, 2023
1 parent d59b334 commit c874c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/o365/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def validate_permissions(
"""Validate the permissions."""
permissions = get_permissions(hass, token_path=token_path, filename=filename)
if not permissions:
return False
return False, None

failed_permissions = []
for minimum_perm in minimum_permissions:
Expand Down

0 comments on commit c874c1d

Please sign in to comment.