Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Fix typo in bulk coupon script #1448

Merged
merged 1 commit into from
Jul 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion p3/management/commands/create_bulk_coupons.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def handle(self, *args, **options):
print ('Coupon %r already exists - updating' % code)
c = all_codes[code]
else:
print ('New coupon %r will be created' % c.code)
print ('New coupon %r will be created' % code)
c = Coupon(conference=conference)
c.code = code
c.max_usage = int(row.get('max_usage', 1))
Expand Down