From b52d37cd9b8da9bb0ff93a55f39052b7901242f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Mart=C3=AD=20Gamboa?= Date: Sat, 14 Jun 2025 00:34:36 +0200 Subject: [PATCH] Remove redundant parens There's no need to use parens here. --- quickbooks/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickbooks/client.py b/quickbooks/client.py index a428044..aa9f93f 100644 --- a/quickbooks/client.py +++ b/quickbooks/client.py @@ -224,7 +224,7 @@ def make_request(self, request_type, url, request_body=None, content_type='appli "Application authentication failed", error_code=req.status_code, detail=req.text) try: - if (self.use_decimal): + if self.use_decimal: result = json.loads(req.text, parse_float=decimal.Decimal) else: result = json.loads(req.text)