summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fracture/invoice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fracture/invoice.py b/fracture/invoice.py
index a27d50a..981efa0 100644
--- a/fracture/invoice.py
+++ b/fracture/invoice.py
@@ -95,7 +95,7 @@ class Invoice:
self.products = products or (Product(Invoice.DEFAULT_PRODUCT_DESC),
Product(Invoice.DEFAULT_PRODUCT_DESC))
self.customer = customer or Customer(Invoice.DEFAULT_CUSTOMER_DESC)
- self.taxes = taxes or Invoice.DEFAULT_TAXES
+ self.taxes = taxes if taxes != None else Invoice.DEFAULT_TAXES
def set_series(self, series):
""" Series is an integer """