Skip to content

Commit

Permalink
apply black's "fixes"
Browse files Browse the repository at this point in the history
  • Loading branch information
radekholy24 committed Apr 9, 2024
1 parent fe2c7c5 commit d908b97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plans_payments/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d908b97

Please sign in to comment.