diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-08-31 19:09:46 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-08-31 19:09:46 +0100 |
| commit | ba59d05594aa13cf7bfd9a37d22e5465aeb5d5f0 (patch) | |
| tree | a96328b379d6041ea9359423e5fec519365469fc /client/modules/HN.py | |
| parent | bd72c31b6e9e08c03198c106c49ebf904a50a9cb (diff) | |
| download | jasper-client-ba59d05594aa13cf7bfd9a37d22e5465aeb5d5f0.tar.gz jasper-client-ba59d05594aa13cf7bfd9a37d22e5465aeb5d5f0.zip | |
Fixed News Modules - Sending news by email
Diffstat (limited to 'client/modules/HN.py')
| -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 493fa1d..863d40a 100644 --- a/client/modules/HN.py +++ b/client/modules/HN.py @@ -68,7 +68,7 @@ def handle(text, mic, profile): return [service.parse(w) for w in output] chosen_articles = extractOrdinals(text) - send_all = chosen_articles is [] and app_utils.isPositive(text) + send_all = not chosen_articles and app_utils.isPositive(text) if send_all or chosen_articles: mic.say("Sure, just give me a moment") |
