From 91927f2adac40844d39a9ee06cc5fec8424dcdfd Mon Sep 17 00:00:00 2001 From: s-aga-r Date: Mon, 28 Aug 2023 00:21:51 +0530 Subject: [PATCH] chore: woocommerce linter issue (#36837) --- .../erpnext_integrations/connectors/woocommerce_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/erpnext_integrations/connectors/woocommerce_connection.py b/erpnext/erpnext_integrations/connectors/woocommerce_connection.py index b140df2068..2b2da7b971 100644 --- a/erpnext/erpnext_integrations/connectors/woocommerce_connection.py +++ b/erpnext/erpnext_integrations/connectors/woocommerce_connection.py @@ -43,7 +43,7 @@ def _order(*args, **kwargs): event = "created" # Ignore the test ping issued during WooCommerce webhook configuration # Ref: https://github.com/woocommerce/woocommerce/issues/15642 - if frappe.request.data.decode('utf-8').startswith('webhook_id='): + if frappe.request.data.decode("utf-8").startswith("webhook_id="): return "success" elif frappe.request and frappe.request.data: verify_request()