Skip to content

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

Fix pep

michalb2a7218d5ea9
diff --git a/saleor/product/filters.py b/saleor/product/filters.py
index 07db74352f..73ead831cd 100644
--- a/saleor/product/filters.py
+++ b/saleor/product/filters.py
@@ -87,6 +87,7 @@ class ProductFilter(FilterSet):
('%s is not an even number' % value)
)
+
def get_sort_by_choices(filter):
return [(choice[0], choice[1].lower()) for choice in
filter.filters['sort_by'].field.choices[1::2]]