Skip to content

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

Fix python 2.6 error

Michał Ociepka677195470068
diff --git a/discount/tests.py b/discount/tests.py
index dd88f8a542..b14681b5d2 100755
--- a/discount/tests.py
+++ b/discount/tests.py
@@ -26,7 +26,7 @@ class ProductDiscount(ItemDiscount):
class CartDiscount(ItemSetDiscount):
- precent = Decimal(0.5)
+ precent = Decimal('0.5')
name = 'Cart discount'
def apply(self, price):