summaryrefslogtreecommitdiff
path: root/callers/read_numbers_aloud.py
diff options
context:
space:
mode:
authorDiego Roversi <diego.roversi@gmail.com>2016-08-21 21:11:55 +0100
committerDiego Roversi <diego.roversi@gmail.com>2016-08-21 21:11:55 +0100
commit7df0c04faba3195f3daf83619ced0b52ee7b05f9 (patch)
treeea1eefb6db34eafa396963de392b7c001d64ea53 /callers/read_numbers_aloud.py
parent8e15784c28f45b9944af57e044bf2c612c1c65e1 (diff)
Added a new message about number 42
Diffstat (limited to 'callers/read_numbers_aloud.py')
-rwxr-xr-xcallers/read_numbers_aloud.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/callers/read_numbers_aloud.py b/callers/read_numbers_aloud.py
index 78de952..7578ae2 100755
--- a/callers/read_numbers_aloud.py
+++ b/callers/read_numbers_aloud.py
@@ -20,7 +20,7 @@ class Speaker(object):
try:
getattr(self, 'call_'+number, None)()
except TypeError:
- self._output("Sto chiamando il numero %s" % number)
+ self._output("Sto chiamando il numero %s." % number)
def call_1234(self):
self._output(u"Questa รจ la combinazione della mia valigia.")
@@ -31,6 +31,9 @@ class Speaker(object):
def call_666(self):
self._output(u"Risponde la segreteria telefonica di Satana.")
+ def call_42(self):
+ self._output(u"E' la risposta alla domanda fondamentale sulla vita, l'universo e tuttoquanto. Giusto?")
+
class Reader(object):
"""Read digits from stdin and turn them into phone numbers."""