Skip to content

Commit

Permalink
Fix broken logging when miotcloud reports multiple available versions (
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Jan 26, 2023
1 parent a64420c commit fb2d268
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion miio/miot_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def info_for_model(self, model: str, *, status_filter="released") -> ReleaseInfo
len(releases),
model,
releases,
status_filter,
)

newest_release = max(releases, key=attrgetter("version"))
Expand Down

0 comments on commit fb2d268

Please sign in to comment.