diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-10-20 18:55:57 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-10-20 18:55:57 +0200 |
commit | de71c01cd5c6dca3b33201a9effafc6c422fa239 (patch) | |
tree | fb8cfa1b50c58c641610e0413b1a77d70072dfe5 /music_sampler/actions | |
parent | b3951077630d9f8188fe15fca899f75be41ff4fe (diff) | |
download | MusicSampler-1.5.0.tar.gz MusicSampler-1.5.0.tar.zst MusicSampler-1.5.0.zip |
Add comment action1.5.0
Diffstat (limited to 'music_sampler/actions')
-rw-r--r-- | music_sampler/actions/__init__.py | 1 | ||||
-rw-r--r-- | music_sampler/actions/comment.py | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/music_sampler/actions/__init__.py b/music_sampler/actions/__init__.py index e0671fe..2f4cc54 100644 --- a/music_sampler/actions/__init__.py +++ b/music_sampler/actions/__init__.py | |||
@@ -1,3 +1,4 @@ | |||
1 | from . import comment | ||
1 | from . import interrupt_wait | 2 | from . import interrupt_wait |
2 | from . import load_music | 3 | from . import load_music |
3 | from . import pause | 4 | from . import pause |
diff --git a/music_sampler/actions/comment.py b/music_sampler/actions/comment.py new file mode 100644 index 0000000..c7baa82 --- /dev/null +++ b/music_sampler/actions/comment.py | |||
@@ -0,0 +1,5 @@ | |||
1 | def run(action, music=None, **kwargs): | ||
2 | pass | ||
3 | |||
4 | def description(action, message, **kwargs): | ||
5 | return message | ||