From b22e16401789a6c2d1f194399b640ea5df931143 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 26 Aug 2016 13:11:30 -0400 Subject: [PATCH] Fix tool for rendering invoices --- tools/renderinvoice.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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']: