diff --git a/tools/renderinvoice.py b/tools/renderinvoice.py index 19fc94ce7..684ffec7f 100644 --- a/tools/renderinvoice.py +++ b/tools/renderinvoice.py @@ -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']: