diff options
| author | Technoboy10 <Technoboy10@users.noreply.github.com> | 2014-01-05 16:52:18 -0700 |
|---|---|---|
| committer | Technoboy10 <Technoboy10@users.noreply.github.com> | 2014-01-05 16:52:18 -0700 |
| commit | baea1c4a1be7bbc1a66e3ab5d652819576f7183a (patch) | |
| tree | c091b671fdb19c9c6df4bd531a4921df5ef56b83 /further_examples.py | |
| parent | 3fe477dc57a3f6f89916935c3dbbe238ed81761c (diff) | |
| download | blockext-baea1c4a1be7bbc1a66e3ab5d652819576f7183a.tar.gz blockext-baea1c4a1be7bbc1a66e3ab5d652819576f7183a.zip | |
Update further_examples.py
Just for the moment, I commented out the blocking reporter
Diffstat (limited to 'further_examples.py')
| -rw-r--r-- | further_examples.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/further_examples.py b/further_examples.py index b61d5e0..35b2c9e 100644 --- a/further_examples.py +++ b/further_examples.py @@ -18,11 +18,11 @@ def set_light(boolean_value): menu("city", ["Boston", "Bournemouth", "Barcelona", "Belgium"]) -@reporter("lookup weather in %m.city", blocking=True) +"""@reporter("lookup weather in %m.city", blocking=True) def weather(city="Boston"): import time return "{weather} in {city}".format(city=city, - weather=["sunny", "cloudy", "rainy", "snowy"][int(time.time() % 4)]) + weather=["sunny", "cloudy", "rainy", "snowy"][int(time.time() % 4)])""" menu("motor", [1, 2, 3, "A", "B", "C"]) |
