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

Commit 10ae259

Browse files
authored
Fix typo in bulk coupon script (#1448)
1 parent 52e992a commit 10ae259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p3/management/commands/create_bulk_coupons.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def handle(self, *args, **options):
8282
print ('Coupon %r already exists - updating' % code)
8383
c = all_codes[code]
8484
else:
85-
print ('New coupon %r will be created' % c.code)
85+
print ('New coupon %r will be created' % code)
8686
c = Coupon(conference=conference)
8787
c.code = code
8888
c.max_usage = int(row.get('max_usage', 1))

0 commit comments

Comments
 (0)