Skip to content

Commit 2e3103f

Browse files
committed
Fixed two linting issues
1 parent 03ba7d4 commit 2e3103f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

webapp/finance/views.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ def get_context_data(self, **kwargs):
284284
log_event(
285285
event=("Payment failed in confirm view"),
286286
user=payment.order.user,
287-
extra=("payment_id=%s, order_id=%s, amount=%s, status=%s") % (payment.id, payment.order.id, payment.amount, status),
287+
extra=("payment_id=%s, order_id=%s, amount=%s, status=%s") % (payment.id, payment.order.id,
288+
payment.amount, status),
288289
)
289290

290291
context['payment_succeeded'] = success
@@ -330,7 +331,8 @@ def post(self, request, *args, **kwargs):
330331
log_event(
331332
event=("[DEBUG] Webhook Mollie status fetched"),
332333
user=payment.order.user,
333-
extra=("mollie_id=%s, status=%s, is_paid=%s, order_id=%s") % (payment.mollie_id, status, success, payment.order.id),
334+
extra=("mollie_id=%s, status=%s, is_paid=%s, order_id=%s") % (payment.mollie_id, status, success,
335+
payment.order.id),
334336
)
335337

336338
if not success:

0 commit comments

Comments
 (0)