Merge pull request #1770 from coreos-inc/fix-invoice-rendering

Fix tool for rendering invoices
This commit is contained in:
josephschorr 2016-08-29 15:32:07 -04:00 committed by GitHub
commit 28979b7154

View file

@ -1,4 +1,4 @@
from app import stripe
import stripe
from app import app
from util.invoice import renderInvoiceToPdf
@ -7,9 +7,6 @@ from data import model
import argparse
from flask import Flask, current_app
from flask_mail import Mail
def sendInvoice(invoice_id):
invoice = stripe.Invoice.retrieve(invoice_id)
if not invoice['customer']: