diff options
Diffstat (limited to 'python/collateral/ms.py')
| -rw-r--r-- | python/collateral/ms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/collateral/ms.py b/python/collateral/ms.py index 794c4e02..3a6e1ea8 100644 --- a/python/collateral/ms.py +++ b/python/collateral/ms.py @@ -32,7 +32,7 @@ def download_files(em, count=20, *, fund="Serenitas", **kwargs): fname = "Trade_Detail_FX_" + attach.name.split("_")[1] elif "NET_Collateral" in attach.name: fname = "Collateral_Detail_" + attach.name.rsplit("_", 1)[1] - elif attach.name.endswith("pdf"): + elif "Statement" in attach.name and attach.name.endswith("pdf"): ending = attach.name.rsplit("_", 1)[1] fname = "Statement_" + ending.split(".")[0] + ".pdf" else: |
