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 bf39269 commit 749b98c
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 749b98c

Please sign in to comment.