diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-05-10 16:45:21 -0400 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-05-10 16:45:21 -0400 |
| commit | 65de503d93b61b7131966e99ff474c7dd6d174f6 (patch) | |
| tree | e057941d8bce504c9e2b51ab45c01b0ffbffbab4 /client/modules | |
| parent | b4dffa756e1a5d78bc969f516be97e37a9c43c19 (diff) | |
| download | jasper-client-65de503d93b61b7131966e99ff474c7dd6d174f6.tar.gz jasper-client-65de503d93b61b7131966e99ff474c7dd6d174f6.zip | |
Populate now adds keys (with empty values) for empty input (easier to handle in modules)
Diffstat (limited to 'client/modules')
| -rw-r--r-- | client/modules/HN.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/modules/HN.py b/client/modules/HN.py index 16aeab8..692abea 100644 --- a/client/modules/HN.py +++ b/client/modules/HN.py @@ -108,7 +108,7 @@ def handle(text, mic, profile): else: mic.say("OK I will not send any articles") - if profile['phone_number']: + if not profile['prefers_email'] and profile['phone_number']: mic.say("Here are some front-page articles. " + all_titles + ". Would you like me to send you these? If so, which?") handleResponse(mic.activeListen()) |
