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

Commit 52e992a

Browse files
committed
Trainers who also give a talk should always receive the trainer
coupons, since these will usually include more perks than the ones for speakers.
1 parent 3e45e54 commit 52e992a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

p3/management/commands/create_speaker_coupons.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ def handle(self, *args, **options):
143143
# Override existing talk discount with training; this
144144
# means that someone who does e.g. both a talk and
145145
# training, will get the higher training discount
146-
if (entry is not None and
147-
entry['discount'] != '100%'):
146+
if entry is not None:
148147
entry = None
149148

150149
# Entry already exists, so don't create a new coupon

0 commit comments

Comments
 (0)