From 6c42e32d98aa2e04d446f31b8e667a280acf4b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 27 Jul 2016 02:01:51 +0200 Subject: Coding styles --- helpers/actions/wait.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'helpers/actions') diff --git a/helpers/actions/wait.py b/helpers/actions/wait.py index f7d2a78..ea42408 100644 --- a/helpers/actions/wait.py +++ b/helpers/actions/wait.py @@ -5,7 +5,9 @@ def run(action, duration=0, music=None, set_wait_id=None, **kwargs): 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() -- cgit v1.2.3