diff options
Diffstat (limited to 'python/task_server/globeop.py')
| -rw-r--r-- | python/task_server/globeop.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/task_server/globeop.py b/python/task_server/globeop.py index 0b18886d..86817f47 100644 --- a/python/task_server/globeop.py +++ b/python/task_server/globeop.py @@ -83,13 +83,15 @@ def download_data(engine, workdate: datetime.date): pnlfiles = [ filename for filename in files - if filename.endswith("csv.asc") and "Profit" in filename + if filename.endswith("csv.asc") and "Profit" in filename and "KD" in filename if get_ped(filename) < workdate ] valuationfiles = [ filename for filename in files - if filename.endswith("csv.asc") and "Valuation_TradeID" in filename + if filename.endswith("csv.asc") + and "Valuation_TradeID" in filename + and "KD" in filename if get_ped(filename) < workdate ] cdsfiles = [ |
