From 75e1ff902cd9ba256c5fadb2d6d012dd455a0ff9 Mon Sep 17 00:00:00 2001 From: b3yond Date: Thu, 18 Jan 2018 13:19:11 +0100 Subject: [PATCH] function needs to take an argument --- mailbot.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mailbot.py b/mailbot.py index fb6703d..098fc24 100644 --- a/mailbot.py +++ b/mailbot.py @@ -55,10 +55,13 @@ class Mailbot(object): except: logger.error('Mail sending failed', exc_info=True) - def repost(self): + def repost(self, status): """ E-Mails don't have to be reposted - they already reached everyone on the mailing list. - The function still needs to be here because ticketfrei.py assumes it. + The function still needs to be here because ticketfrei.py assumes it, and take the + report object they want to give us. + + :param status: (report.Report object) """ pass