diff options
author | Patrick Maia <patrickjourdanmaia@gmail.com> | 2014-08-14 16:38:52 -0300 |
---|---|---|
committer | Patrick Maia <patrickjourdanmaia@gmail.com> | 2014-08-14 16:46:20 -0300 |
commit | c38da5c66cf524ce15e3ede8d0349dc662189892 (patch) | |
tree | e513ad1a2f921ef735085c79c1ea24d07075208d /service/app | |
parent | 33cd5cbb6f023f281c5b146d9cf0ccdba4d53e22 (diff) |
PEP8 tweaks
Diffstat (limited to 'service/app')
-rw-r--r-- | service/app/adapter/mail_service.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/app/adapter/mail_service.py b/service/app/adapter/mail_service.py index a11825e0..ab9304e0 100644 --- a/service/app/adapter/mail_service.py +++ b/service/app/adapter/mail_service.py @@ -9,6 +9,7 @@ from app.bitmask_libraries.auth import LeapCredentials from app.adapter.pixelated_mail import PixelatedMail from app.tags import Tags + class MailService: def __init__(self): @@ -30,6 +31,7 @@ class MailService: self.leap_session = LeapSessionFactory(self.provider).create(LeapCredentials(self.username, self.password)) self.account = self.leap_session.account self.mailbox = self.account.getMailbox(self.mailbox_name) + def mails(self, query): return self.mailbox.messages or [] |