Skip to content

Commit

Permalink
Update pyinjective/ofac.py
Browse files Browse the repository at this point in the history
Co-authored-by: Abel Armoa <[email protected]>
  • Loading branch information
PavelInjective and aarmoa committed Sep 11, 2024
1 parent 71d9b6a commit 5dec907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyinjective/ofac.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5dec907

Please sign in to comment.