Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vmanuel committed Jan 7, 2020
1 parent 229bf62 commit be2d1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/google-fit/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def update(self):

time_updates = list(values.keys())
time_updates.sort(reverse=True)
if time_updates is None:
if not time_updates:
self._attributes = {}
return None

Expand Down

0 comments on commit be2d1f3

Please sign in to comment.