py27 support (I think) and some clean up

This commit is contained in:
blitzmann
2020-08-23 21:21:55 -04:00
parent a000de0270
commit 59d56d5c83
4 changed files with 20 additions and 52 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class EmailSSL(EmailBase, smtplib.SMTP_SSL):
class TaskEmail(CalibreTask):
def __init__(self, subject, filepath, attachment, settings, recipient, taskMessage, text, internal=False):
super().__init__(taskMessage)
super(TaskEmail, self).__init__(taskMessage)
self.subject = subject
self.attachment = attachment
self.settings = settings