diff options
Diffstat (limited to 'python/process_queue.py')
| -rw-r--r-- | python/process_queue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/process_queue.py b/python/process_queue.py index 147dcad1..0e3bf1b6 100644 --- a/python/process_queue.py +++ b/python/process_queue.py @@ -496,7 +496,7 @@ if __name__ == "__main__": send_email(trade) for fund in ["BRINKER", "SERCGMAST"]: buf = generate_csv( - filter(lambda t: t["fund"] == fund, list_trades), + filter(lambda t: t.get("fund", "SERCGMAST") == fund, list_trades), queue_name) if buf is not None: file_path = write_buffer(buf, DAILY_DIR, queue_name, fund) |
