diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-26 16:35:05 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-26 16:35:05 +0200 |
commit | e4917bcc6c5355a82f05880a389d0a1fd868561d (patch) | |
tree | 56f030600ad200632d0e9030c3b470dcb846215d /helpers/actions/interrupt_wait.py | |
parent | db905e0706ab9a1f92102e86f677c66371be4621 (diff) | |
parent | c4f4f2a1d330d8e09021619bbb8dcaac4df0a602 (diff) | |
download | MusicSampler-e4917bcc6c5355a82f05880a389d0a1fd868561d.tar.gz MusicSampler-e4917bcc6c5355a82f05880a389d0a1fd868561d.tar.zst MusicSampler-e4917bcc6c5355a82f05880a389d0a1fd868561d.zip |
Merge branch 'actions_cleanup'
Diffstat (limited to 'helpers/actions/interrupt_wait.py')
-rw-r--r-- | helpers/actions/interrupt_wait.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/actions/interrupt_wait.py b/helpers/actions/interrupt_wait.py new file mode 100644 index 0000000..36766a2 --- /dev/null +++ b/helpers/actions/interrupt_wait.py | |||
@@ -0,0 +1,5 @@ | |||
1 | def run(action, wait_id=None): | ||
2 | action.mapping.interrupt_wait(wait_id) | ||
3 | |||
4 | def description(action, wait_id=None, **kwargs): | ||
5 | return "interrupt wait with id {}".format(wait_id) | ||