Closed PavelInjective closed 1 month ago
[!CAUTION]
Review failed
The pull request is closed.
The changes involve a modification to the get_ofac_list_path
class method in the pyinjective/ofac.py
file. The method's logic has been simplified to construct the path to the OFAC list directly using the current file's directory instead of traversing up the directory structure. This results in a more efficient and straightforward method for resolving the path.
File | Change Summary |
---|---|
pyinjective/ofac.py |
Updated the logic in get_ofac_list_path to directly construct the path using __file__ and OFAC_LIST_FILENAME , eliminating the previous directory traversal logic. |
In the code where rabbits hop,
A path was found, no need to stop.
With a twist and a turn,
Simplicity we yearn,
Now the OFAC list is quick to drop! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit