action.mapping.add_wait_id(set_wait_id, action)
action.sleep_event = threading.Event()
- action.sleep_event_timer = threading.Timer(duration, action.sleep_event.set)
+ action.sleep_event_timer = threading.Timer(
+ duration,
+ action.sleep_event.set)
if music is not None:
music.wait_end()