Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: removed white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
zubair-ce07 committed Sep 22, 2023
1 parent 23e3738 commit 861e511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/extensions/voucher/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 861e511

Please sign in to comment.