diff options
Diffstat (limited to 'python/trade_dataclasses.py')
| -rw-r--r-- | python/trade_dataclasses.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py index 525907b4..3477a4b9 100644 --- a/python/trade_dataclasses.py +++ b/python/trade_dataclasses.py @@ -577,7 +577,7 @@ class TerminationDeal( self.orig_cp, self.currency, self.fund = c.fetchone() c.execute(id_sql, (self.id,)) if globeopid := c.fetchone(): - self.globeop_id = c.fetchone()[0] + self.globeop_id = globeopid[0] def to_markit(self): obj = self.serialize("mtm") |
