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: