From b17d71e4c3b02042aa171b5abe38cb9a6ecc8510 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 28 Mar 2021 20:29:13 +0200 Subject: [PATCH] Update optional-requirements.txt Bugfix Mail task after convert task --- cps/tasks/mail.py | 2 +- optional-requirements.txt | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cps/tasks/mail.py b/cps/tasks/mail.py index 770087b4..89e9e2f0 100644 --- a/cps/tasks/mail.py +++ b/cps/tasks/mail.py @@ -103,7 +103,7 @@ class EmailSSL(EmailBase, smtplib.SMTP_SSL): class TaskEmail(CalibreTask): - def __init__(self, subject, filepath, attachment, settings, recipient, taskMessage, text): + def __init__(self, subject, filepath, attachment, settings, recipient, taskMessage, text, internal=False): super(TaskEmail, self).__init__(taskMessage) self.subject = subject self.attachment = attachment diff --git a/optional-requirements.txt b/optional-requirements.txt index 547f0256..b6fee806 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -1,9 +1,8 @@ # GDrive Integration -google-api-python-client>=1.7.11,<2.1.0 gevent>20.6.0,<21.2.0 greenlet>=0.4.17,<1.1.0 httplib2>=0.9.2,<0.18.0 -# oauth2client>=4.0.0,<4.1.4 +oauth2client>=4.0.0,<4.1.4 uritemplate>=3.0.0,<3.1.0 pyasn1-modules>=0.0.8,<0.3.0 pyasn1>=0.1.9,<0.5.0 @@ -12,6 +11,12 @@ PyYAML>=3.12 rsa>=3.4.2,<4.1.0 six>=1.10.0,<1.15.0 +# Gdrive and Gmail integration +google-api-python-client>=1.7.11,<2.1.0 + +# Gmail +google-auth-oauthlib>=0.4.3,<0.5.0 + # goodreads goodreads>=0.3.2,<0.4.0 python-Levenshtein>=0.12.0,<0.13.0