1 parent 454f50f commit 148e6e0Copy full SHA for 148e6e0
1 file changed
docs/tutorial.rst
@@ -385,7 +385,7 @@ Create ``uinput`` device capable of receiving FF-effects
385
# Wait for an EV_UINPUT event that will signal us that an
386
# effect upload/erase operation is in progress.
387
if event.type != ecodes.EV_UINPUT:
388
- pass
+ continue
389
390
if event.code == ecodes.UI_FF_UPLOAD:
391
upload = device.begin_upload(event.value)
0 commit comments