]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/actions/wait.py
Coding styles
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / actions / wait.py
index f7d2a781721bc004e5fb87c86d0bfd72cbbb9f7a..ea424081f8c2d984e86b9e2b8b2171dd82ee5cc9 100644 (file)
@@ -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()