Skip to content

Commit

Permalink
Fixed TypeError in airpurifier.py module introduced in commit 65aeca5
Browse files Browse the repository at this point in the history
…(issue #264).
  • Loading branch information
sq5gvm committed Mar 14, 2018
1 parent a10c771 commit a224e6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions miio/airpurifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,7 @@ def __repr__(self) -> str:
"sleep_mode_learn_count=%s, " \
"extra_features=%s, " \
"turbo_mode_supported=%s, " \
"auto_detect=%s, " % \
"use_time=%s, " % \
"auto_detect=%s, " \
"button_pressed=%s>" % \
(self.power,
self.aqi,
Expand Down Expand Up @@ -350,7 +349,6 @@ def __repr__(self) -> str:
self.extra_features,
self.turbo_mode_supported,
self.auto_detect,
self.use_time,
self.button_pressed)
return s

Expand Down

0 comments on commit a224e6b

Please sign in to comment.