Use stdout instead of logger
This commit is contained in:
		
					parent
					
						
							
								b7dd4acb07
							
						
					
				
			
			
				commit
				
					
						3eaa53ca78
					
				
			
		
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -38,9 +38,7 @@ class Command(BaseCommand): | ||||||
|                         created=created_gt |                         created=created_gt | ||||||
|                     ) |                     ) | ||||||
|                     all_invoices = all_invoices_response['response_object'] |                     all_invoices = all_invoices_response['response_object'] | ||||||
|                     logger.debug( |                     self.stdout.write(self.style.SUCCESS("Obtained {} invoices".format(len(all_invoices)))) | ||||||
|                         "Obtained {} invoices".format(len(all_invoices)) |  | ||||||
|                     ) |  | ||||||
|                     for invoice in all_invoices: |                     for invoice in all_invoices: | ||||||
|                         MonthlyHostingBill.create( |                         MonthlyHostingBill.create( | ||||||
|                             invoice, stripe_customer=user.stripecustomer |                             invoice, stripe_customer=user.stripecustomer | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue