From 5dec90776ed26afeefbb45d7516faa2fadc1c0c4 Mon Sep 17 00:00:00 2001 From: PavelInjective Date: Wed, 11 Sep 2024 12:57:33 +0200 Subject: [PATCH] Update pyinjective/ofac.py Co-authored-by: Abel Armoa <30988000+aarmoa@users.noreply.github.com> --- pyinjective/ofac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinjective/ofac.py b/pyinjective/ofac.py index fea8d96d..4cbf664b 100644 --- a/pyinjective/ofac.py +++ b/pyinjective/ofac.py @@ -34,7 +34,7 @@ async def download_ofac_list(cls): ofac_list = json.loads(text_content) ofac_file_path = cls.get_ofac_list_path() with open(ofac_file_path, "w") as f: - json.dump(ofac_list, f) + json.dump(ofac_list, f, indent=2) f.write("\n") return except (aiohttp.ClientError, json.JSONDecodeError) as e: