aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/load_globeop_report.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/load_globeop_report.py b/python/load_globeop_report.py
index 377f2746..f793e8ad 100644
--- a/python/load_globeop_report.py
+++ b/python/load_globeop_report.py
@@ -56,7 +56,9 @@ def read_pnl_report(f):
def pnl_reports():
df = {}
- for f in chain.from_iterable(get_globs('Pnl')):
+ for f in chain.from_iterable(get_globs('Pnl*')):
+ if not (f.endswith("Pnl.csv") and f.endswith("Pnl_Report.csv")):
+ continue
try:
date = pd.Timestamp(f.split('/')[6])
except ValueError: