diff options
| author | blob8108 <spaaam42@gmail.com> | 2014-01-05 17:06:21 +0000 |
|---|---|---|
| committer | blob8108 <spaaam42@gmail.com> | 2014-01-05 17:06:21 +0000 |
| commit | 457674c8dc0a070d63e7992fb1b69694418e6f3a (patch) | |
| tree | 8c7f1a4c3b9a75aaec5bcf456589792cf2526ce9 /example.py | |
| parent | c2065edb2845a3cfb40685cced16f003e694f10e (diff) | |
| download | blockext-457674c8dc0a070d63e7992fb1b69694418e6f3a.tar.gz blockext-457674c8dc0a070d63e7992fb1b69694418e6f3a.zip | |
Fix blocking reporters
Diffstat (limited to 'example.py')
| -rw-r--r-- | example.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,14 +8,14 @@ from blockext import * def not_(value): return not value -@command("say %s for %n secs") +@command("say %s for %n secs", blocking=True) def say_for_secs(text="Hello", duration=5): import time print(text) time.sleep(duration) -@command("play note %n", blocking=True) +@command("play note %n") def play_note(note): print("DING {note}".format(note=note)) time.sleep(2) |
