diff options
Diffstat (limited to 'python/report_ops')
| -rw-r--r-- | python/report_ops/sma.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/report_ops/sma.py b/python/report_ops/sma.py index b1c0322c..553be7fc 100644 --- a/python/report_ops/sma.py +++ b/python/report_ops/sma.py @@ -227,7 +227,7 @@ class PositionReport(Deal, deal_type=None, table_name=None): @classmethod def gen_positions(cls, cob, fund): with cls._conn.cursor() as c: - params = (cob, fund) if cls not in (TranchePosition,) else (cob,) + params = (cob, fund) c.execute(cls._query, params) for row in c: yield cls.from_query(row._asdict(), cob, fund) |
