diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:52:53 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:52:53 +0200 |
| commit | 2b1e8411ab5eaa7e1349b78d03270ab02ae2950d (patch) | |
| tree | ed914cbf8964bbe26ba28e80589f4c289b3fac3a /client/modules/Joke.py | |
| parent | 890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a (diff) | |
| download | jasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.tar.gz jasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.zip | |
Fix flake8 style nits
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() |
