diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:59:36 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:59:36 +0200 |
| commit | edca8b7407d7c9b1497ba1722d1b66ffa4b4c234 (patch) | |
| tree | d544987379415ac557751401ea0b0c7de81530b7 /client/modules/Gmail.py | |
| parent | 890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a (diff) | |
| parent | 804da384bff556d3caedf9ad01d57f2460aee151 (diff) | |
| download | jasper-client-edca8b7407d7c9b1497ba1722d1b66ffa4b4c234.tar.gz jasper-client-edca8b7407d7c9b1497ba1722d1b66ffa4b4c234.zip | |
Merge pull request #217 from Holzhaus/style-fixes
Style fixes
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) |
