We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 387b1fc commit 901c5a9Copy full SHA for 901c5a9
pyinjective/ofac.py
@@ -22,10 +22,7 @@ def __init__(self):
22
23
@classmethod
24
def get_ofac_list_path(cls):
25
- current_directory = os.getcwd()
26
- while os.path.basename(current_directory) != "sdk-python":
27
- current_directory = os.path.dirname(current_directory)
28
- return os.path.join(os.path.join(current_directory, "pyinjective"), OFAC_LIST_FILENAME)
+ return os.path.join(os.path.dirname(__file__), OFAC_LIST_FILENAME)
29
30
31
async def download_ofac_list(cls):
0 commit comments