aboutsummaryrefslogtreecommitdiffstats
path: root/python/markit/cds.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/markit/cds.py')
-rw-r--r--python/markit/cds.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/python/markit/cds.py b/python/markit/cds.py
index 27b6ce0d..958c53c4 100644
--- a/python/markit/cds.py
+++ b/python/markit/cds.py
@@ -59,11 +59,9 @@ def download_composite_data(
if f.endswith("csv"):
path = z.extract(
f,
- path=os.path.join(
- os.environ["BASE_DIR"],
- "Tranche_data",
- "Composite_reports",
- ),
+ path=BASE_DIR /
+ "Tranche_data" /
+ "Composite_reports"
)
if historical:
os.utime(path, (ts, ts))