From 861e51199218ee0f2fcce4977255124adf21c7d1 Mon Sep 17 00:00:00 2001 From: zubair-ce07 Date: Fri, 22 Sep 2023 15:53:27 +0500 Subject: [PATCH] fix: removed white spaces --- ecommerce/extensions/voucher/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecommerce/extensions/voucher/utils.py b/ecommerce/extensions/voucher/utils.py index cac75afca9f..99f57a54a28 100644 --- a/ecommerce/extensions/voucher/utils.py +++ b/ecommerce/extensions/voucher/utils.py @@ -536,7 +536,7 @@ def create_new_voucher(code, end_datetime, name, start_datetime, voucher_type): if not isinstance(end_datetime, datetime.datetime): end_datetime = dateutil.parser.parse(end_datetime) - + voucher = Voucher.objects.last() if voucher: name = name + str(voucher.id)