forked from platypush/platypush
LINT warnings fix
This commit is contained in:
parent
876a07d2c8
commit
d96a218c56
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class GpioSensorMotionPwm3901Plugin(GpioSensorPlugin):
|
||||||
try:
|
try:
|
||||||
x, y = sensor.get_motion()
|
x, y = sensor.get_motion()
|
||||||
break
|
break
|
||||||
except RuntimeError as e:
|
except RuntimeError:
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
|
|
||||||
secs = int(time.time())
|
secs = int(time.time())
|
||||||
|
|
Loading…
Reference in a new issue