Skip to content

Commit

Permalink
Changed quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
eprbell committed Dec 10, 2024
1 parent 86d0982 commit b25ac28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rp2/in_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def to_string(self, indent: int = 0, repr_format: bool = True, extra_data: Optio
f"is_taxable={stringify(self.is_taxable())}",
f"fiat_taxable_amount={self.fiat_taxable_amount:.4f}",
f"from_lot={self.from_lot.internal_id if self.from_lot is not None else ''}",
f"to_lots={', '.join(f'{exchange}: {', '.join(t.internal_id for t in transactions)}' for exchange, transactions in self.to_lots.items())}",
# f"to_lots={', '.join(f'{exchange}: {', '.join(t.internal_id for t in transactions)}' for exchange, transactions in self.to_lots.items())}",
f"to_lots={', '.join(f'{exchange}: {', '.join([t.internal_id for t in transactions])}' for exchange, transactions in self.to_lots.items())}"
]
if extra_data:
class_specific_data.extend(extra_data)
Expand Down

0 comments on commit b25ac28

Please sign in to comment.