Fix a flake8 error

This commit is contained in:
PCoder 2018-09-23 13:27:33 +02:00
parent 7f3b916c58
commit dd82bdc9da

View file

@ -454,7 +454,7 @@ class OrderConfirmationView(DetailView):
context['cc_brand'] = card_detail.brand context['cc_brand'] = card_detail.brand
if ('generic_payment_type' in request.session and if ('generic_payment_type' in request.session and
self.request.session['generic_payment_type'] == 'generic'): self.request.session['generic_payment_type'] == 'generic'):
context.update({ context.update({
'generic_payment_details': 'generic_payment_details':
request.session['generic_payment_details'], request.session['generic_payment_details'],