Browse Source

Fix typo (and thus, crash) on payment deletion

Only for instances with settings.HANDLE_BALANCE set to True
Jocelyn Delalande 6 years ago
parent
commit
856e2ce699
1 changed files with 1 additions and 1 deletions
  1. 1 1
      coin/billing/models.py

+ 1 - 1
coin/billing/models.py

@@ -629,7 +629,7 @@ def paymentallocation_deleted(sender, instance, **kwargs):
 def payment_deleted(sender, instance, **kwargs):
 
     accounting_log.info(
-        "Deleted payment {} (Date: {}, Member: {}, Amount: {}, Label: {}).".forma(
+        "Deleted payment {} (Date: {}, Member: {}, Amount: {}, Label: {}).".format(
             instance.pk, instance.date, instance.member, instance.amount, instance.label))
 
     member = instance.member