From d96a218c56e826c69f432518d93f0564c4ce68af Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 24 Sep 2019 23:21:19 +0200 Subject: [PATCH] LINT warnings fix --- platypush/plugins/gpio/sensor/motion/pwm3901.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/gpio/sensor/motion/pwm3901.py b/platypush/plugins/gpio/sensor/motion/pwm3901.py index 4d62e7ee4..fa190fad0 100644 --- a/platypush/plugins/gpio/sensor/motion/pwm3901.py +++ b/platypush/plugins/gpio/sensor/motion/pwm3901.py @@ -98,7 +98,7 @@ class GpioSensorMotionPwm3901Plugin(GpioSensorPlugin): try: x, y = sensor.get_motion() break - except RuntimeError as e: + except RuntimeError: time.sleep(0.01) secs = int(time.time())