Skip to content

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

Add second argument to save method

Mira Szewczyk452e0dca75e2
diff --git a/saleor/dashboard/payment/forms.py b/saleor/dashboard/payment/forms.py
index 0dab492cbc..dd48eb266a 100644
--- a/saleor/dashboard/payment/forms.py
+++ b/saleor/dashboard/payment/forms.py
@@ -53,7 +53,6 @@ class GatewayConfigurationForm(forms.ModelForm):
data["configuration"] = list(cleaned_data.values())
return data
- # pylint: disable=W0221
- def save(self):
+ def save(self, _):
parse_value = self.parse_values()
self.plugin.save_plugin_configuration(self.instance, parse_value)