remove unused parameter

This commit is contained in:
Jonas Winkler 2020-11-17 00:17:53 +01:00
parent 984b535980
commit 20af840dfd

View File

@ -97,14 +97,14 @@ def handle_mail_account(account):
post_consume_messages = [] post_consume_messages = []
for message in messages: for message in messages:
result = handle_message(M, message, rule) result = handle_message(message, rule)
if result: if result:
post_consume_messages.append(message.uid) post_consume_messages.append(message.uid)
action.post_consume(M, post_consume_messages, rule.action_parameter) 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: if not message.attachments:
return False return False