diff options
| -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"]) |
