Remove unused variable
This commit is contained in:
		
					parent
					
						
							
								baa2817f57
							
						
					
				
			
			
				commit
				
					
						6b663d82a1
					
				
			
		
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -282,10 +282,8 @@ class PaymentOrderView(FormView): | |||
|             ) | ||||
|         if address_form.is_valid(): | ||||
|             token = address_form.cleaned_data.get('token') | ||||
|             owner = self.request.user | ||||
|             if token is '': | ||||
|                 card_id = address_form.cleaned_data.get('card') | ||||
|                 customer = owner.stripecustomer | ||||
|                 try: | ||||
|                     user_card_detail = UserCardDetail.objects.get(id=card_id) | ||||
|                     if not request.user.has_perm( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue