]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/actions/unpause.py
Rename helpers to music_sampler
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / actions / unpause.py
diff --git a/helpers/actions/unpause.py b/helpers/actions/unpause.py
deleted file mode 100644 (file)
index 5fa88c3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-def run(action, music=None, **kwargs):
-    for music in action.music_list(music):
-        if music.is_loaded_paused():
-            music.unpause()
-
-def description(action, music=None, **kwargs):
-    if music is not None:
-        return "unpausing « {} »".format(music.name)
-    else:
-        return "unpausing all musics"