Correct flake8 error
This commit is contained in:
		
					parent
					
						
							
								b021a8ed6e
							
						
					
				
			
			
				commit
				
					
						737681136f
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -295,8 +295,8 @@ class PaymentOrderView(FormView):
 | 
				
			||||||
                    )
 | 
					                    )
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
                product = GenericProduct.objects.all(
 | 
					                product = GenericProduct.objects.all(
 | 
				
			||||||
                    product_name=
 | 
					                    product_name=request.
 | 
				
			||||||
                    request.POST['generic_payment_form-product_name']
 | 
					                    POST['generic_payment_form-product_name']
 | 
				
			||||||
                ).first()
 | 
					                ).first()
 | 
				
			||||||
            if product is None:
 | 
					            if product is None:
 | 
				
			||||||
                return JsonResponse({})
 | 
					                return JsonResponse({})
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue