From 8d35955d032b984463178a775e2ae8af1c93bd2c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 8 Jan 2018 15:32:36 -0600 Subject: [PATCH] Fix bug when printing product label --- tailbone/views/products.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/products.py b/tailbone/views/products.py index 0af8b09a..f60abc75 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -663,7 +663,7 @@ def print_labels(request): return {'error': "Couldn't get printer from label profile"} try: - printer.print_labels([(product, quantity)]) + printer.print_labels([(product, quantity, {})]) except Exception, error: return {'error': str(error)} return {}