Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unnecessary parentheses

fowczarek2473d851c884
diff --git a/saleor/discount/models.py b/saleor/discount/models.py
index 8b084c027b..76ef56e75d 100644
--- a/saleor/discount/models.py
+++ b/saleor/discount/models.py
@@ -172,8 +172,7 @@ class Voucher(models.Model):
)
if voucher_customer:
msg = pgettext(
- "Voucher not applicable",
- ("This offer is valid only once per customer."),
+ "Voucher not applicable", "This offer is valid only once per customer."
)
raise NotApplicable(msg)