From d908b979b06b6bc79e8e1487614c888260e5b3fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Hol=C3=BD?= Date: Wed, 20 Mar 2024 09:07:02 +0100 Subject: [PATCH] apply black's "fixes" --- plans_payments/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plans_payments/models.py b/plans_payments/models.py index 61887ad..440c862 100644 --- a/plans_payments/models.py +++ b/plans_payments/models.py @@ -167,7 +167,9 @@ def change_payment_status(sender, *args, **kwargs): ): order.status = Order.STATUS.CANCELED # In case django-simples-history is installed - order._change_reason = f"Django-plans-payments: Payment status changed to {payment.status}" + order._change_reason = ( + f"Django-plans-payments: Payment status changed to {payment.status}" + ) order.save() if hasattr(order.user.userplan, "recurring"): order.user.userplan.recurring.token_verified = False