From 2b1e8411ab5eaa7e1349b78d03270ab02ae2950d Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 6 Oct 2014 16:52:53 +0200 Subject: Fix flake8 style nits --- client/modules/Joke.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/modules/Joke.py') 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() -- cgit v1.3.1