From a224e6b9ee4b38cc0ae502beeb3f730cb7e1b88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miros=C5=82aw=20Lach?= Date: Wed, 14 Mar 2018 23:13:17 +0100 Subject: [PATCH] Fixed TypeError in airpurifier.py module introduced in commit 65aeca5d4286529f636efc3244c5485d0893f511 (issue #264). --- miio/airpurifier.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/miio/airpurifier.py b/miio/airpurifier.py index c944b34d2..96168804a 100644 --- a/miio/airpurifier.py +++ b/miio/airpurifier.py @@ -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, @@ -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