Skip to content

Commit

Permalink
revert unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lcduong committed Oct 10, 2024
1 parent 43eee93 commit d9ae2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pretix/api/views/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def create(self, request, *args, **kwargs):
with transaction.atomic():
try:
self.perform_create(serializer)
except TaxRule.SaleNotAllowedException:
except TaxRule.SaleNotAllowed:
raise ValidationError(_('One of the selected products is not available in the selected country.'))
send_mail = serializer._send_mail
order = serializer.instance
Expand Down

0 comments on commit d9ae2f3

Please sign in to comment.