Skip to content

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

Fix codeclimate warning

oldPadavanb1f14f63b64b
diff --git a/saleor/dashboard/collection/forms.py b/saleor/dashboard/collection/forms.py
index 88dc5b1c5f..fb400357fd 100644
--- a/saleor/dashboard/collection/forms.py
+++ b/saleor/dashboard/collection/forms.py
@@ -51,6 +51,6 @@ class AssignHomepageCollectionForm(forms.ModelForm):
homepage_collection = cleaned_data['homepage_collection']
if homepage_collection and not homepage_collection.is_published:
self.add_error('homepage_collection', pgettext_lazy(
- 'Homepage collection assign form error',
+ 'Homepage collection assign form error',
'Selected collection is not published'))
return cleaned_data