From 443541ca16e0be6807db92f68bf6755867e01545 Mon Sep 17 00:00:00 2001 From: Ashutosh619-sudo Date: Thu, 10 Oct 2024 17:20:34 +0530 Subject: [PATCH] pylint resolved --- fyle_qbo_api/logging_middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fyle_qbo_api/logging_middleware.py b/fyle_qbo_api/logging_middleware.py index 8da1a3fd..cc36ebca 100644 --- a/fyle_qbo_api/logging_middleware.py +++ b/fyle_qbo_api/logging_middleware.py @@ -60,7 +60,7 @@ def __init__(self, get_response): self.get_response = get_response def __call__(self, request): - if request.method in ['POST', 'PUT'] : + if request.method in ['POST', 'PUT']: try: body_unicode = request.body.decode('utf-8') request_body = json.loads(body_unicode)