From 00961785d567e6c5ba9fd42c77641812af1a5ad6 Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Mon, 5 Mar 2018 09:40:43 +0300 Subject: [PATCH] Fix save AuthorBalance --- apps/payment/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/payment/models.py b/apps/payment/models.py index 6cf3402a..4860b3c8 100644 --- a/apps/payment/models.py +++ b/apps/payment/models.py @@ -60,7 +60,7 @@ class AuthorBalance(models.Model): author_balance=self, ) self.declined_send_at = now() - super.save(*args, **kwargs) + super().save(*args, **kwargs) def calc_commission(self): return self.amount * config.SERVICE_COMMISSION / 100