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)