mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-07-01 11:14:52 +02:00
fix: tolerate damaged contribution files
This commit is contained in:
@@ -12,6 +12,8 @@ CENT = Decimal("0.01")
|
||||
|
||||
|
||||
def evaluate(context: RuleContext):
|
||||
if context.contributions_error:
|
||||
return []
|
||||
member = context.member
|
||||
if member.honorary or member.status not in CONTRIBUTION_STATUSES:
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user