From 20af840dfd6d67dbda29244fd5b67aff18faf48e Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Tue, 17 Nov 2020 00:17:53 +0100 Subject: [PATCH] remove unused parameter --- src/paperless_mail/mail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/paperless_mail/mail.py b/src/paperless_mail/mail.py index c84a7bf2c..7bcb26d6b 100644 --- a/src/paperless_mail/mail.py +++ b/src/paperless_mail/mail.py @@ -97,14 +97,14 @@ def handle_mail_account(account): post_consume_messages = [] for message in messages: - result = handle_message(M, message, rule) + result = handle_message(message, rule) if result: post_consume_messages.append(message.uid) action.post_consume(M, post_consume_messages, rule.action_parameter) -def handle_message(M, message, rule): +def handle_message(message, rule): if not message.attachments: return False