aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/baml_isda.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/baml_isda.py')
-rw-r--r--python/collateral/baml_isda.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/collateral/baml_isda.py b/python/collateral/baml_isda.py
index 392bc935..fc4cc5da 100644
--- a/python/collateral/baml_isda.py
+++ b/python/collateral/baml_isda.py
@@ -122,7 +122,8 @@ def load_excel(fname):
i = 19
rows = []
while s.cell(i, 0).ctype != xlrd.XL_CELL_DATE:
- if s.cell(i, 0).value == "" or s.cell(i, 0).value.startswith("Credit"):
+ content = s.cell(i, 0).value
+ if content == "" or content.startswith("Credit") or content.startswith("FX"):
i += 1
continue
r = []