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/Gmail.py | |
| parent | 890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a (diff) | |
| download | jasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.tar.gz jasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.zip | |
Fix flake8 style nits
Diffstat (limited to 'client/modules/Gmail.py')
| -rw-r--r-- | client/modules/Gmail.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/modules/Gmail.py b/client/modules/Gmail.py index 001cf9c..83ed3bd 100644 --- a/client/modules/Gmail.py +++ b/client/modules/Gmail.py @@ -3,7 +3,6 @@ import imaplib import email import re from dateutil import parser -from app_utils import * WORDS = ["EMAIL", "INBOX"] @@ -51,7 +50,8 @@ def fetchUnreadEmails(profile, since=None, markRead=False, limit=None): Fetches a list of unread email objects from a user's Gmail inbox. Arguments: - profile -- contains information related to the user (e.g., Gmail address) + profile -- contains information related to the user (e.g., Gmail + address) since -- if provided, no emails before this date will be returned markRead -- if True, marks all returned emails as read in target inbox @@ -93,7 +93,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., Gmail address) + profile -- contains information related to the user (e.g., Gmail + address) """ try: msgs = fetchUnreadEmails(profile, limit=5) |
