From 457674c8dc0a070d63e7992fb1b69694418e6f3a Mon Sep 17 00:00:00 2001 From: blob8108 Date: Sun, 5 Jan 2014 17:06:21 +0000 Subject: Fix blocking reporters --- example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example.py') diff --git a/example.py b/example.py index 07838cf..2a6adc1 100644 --- a/example.py +++ b/example.py @@ -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) -- cgit v1.3.1