diff options
Diffstat (limited to 'python/report_ops/wires.py')
| -rw-r--r-- | python/report_ops/wires.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/report_ops/wires.py b/python/report_ops/wires.py index 8767fe51..e2f4ea6f 100644 --- a/python/report_ops/wires.py +++ b/python/report_ops/wires.py @@ -45,7 +45,7 @@ class Wire(Deal, table_name="custodian_wires", deal_type="custodian_wires"): cls.dtkey = dtkey def __post_init__(self): - if not isinstance(self.amount, float): + if isinstance(self.amount, str): self.amount = self.amount.replace(",", "") if "(" in self.amount: self.amount = -float(self.amount[1:-1]) |
