aboutsummaryrefslogtreecommitdiffstats
path: root/python/calibrate_tranches_BC.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/calibrate_tranches_BC.py')
-rw-r--r--python/calibrate_tranches_BC.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/calibrate_tranches_BC.py b/python/calibrate_tranches_BC.py
index 289023ba..e8ce2c2f 100644
--- a/python/calibrate_tranches_BC.py
+++ b/python/calibrate_tranches_BC.py
@@ -76,7 +76,7 @@ if __name__ == "__main__":
else:
handler = logging.StreamHandler()
handler.setFormatter(SerenitasFileHandler._formatter)
- logger.addHandler(handler)
+ logger.handlers = [handler]
start_dates = { # 'hy10': datetime.date(2014, 8, 11),
# 'hy15': datetime.date(2014, 6, 10),