diff options
Diffstat (limited to 'client/modules/Joke.py')
| -rw-r--r-- | client/modules/Joke.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/modules/Joke.py b/client/modules/Joke.py index c560f4e..7192b03 100644 --- a/client/modules/Joke.py +++ b/client/modules/Joke.py @@ -6,7 +6,7 @@ import jasperpath WORDS = ["JOKE", "KNOCK KNOCK"] -def getRandomJoke(filename=jasperpath.data('text','JOKES.txt')): +def getRandomJoke(filename=jasperpath.data('text', 'JOKES.txt')): jokeFile = open(filename, "r") jokes = [] start = "" @@ -38,7 +38,8 @@ def handle(text, mic, profile): Arguments: text -- user-input, typically transcribed speech mic -- used to interact with the user (for both input and output) - profile -- contains information related to the user (e.g., phone number) + profile -- contains information related to the user (e.g., phone + number) """ joke = getRandomJoke() |
