diff --git a/tax.py b/tax.py index 2aea2be..84e22e2 100644 --- a/tax.py +++ b/tax.py @@ -128,13 +128,13 @@ def report(year, conn=None): for market in markets } income_ore = 0 - admin_cost_sats = 0 + admin_cost_ore = 0 for row in _year_rows(conn, year): if row["type"] == "admin_cost": # It has no account and changes no holdings (section 3.10), so it # is counted from its own taxable flag and from nothing else. if row["taxable"]: - admin_cost_sats += row["leg_out_sats"] or 0 + admin_cost_ore += row["leg_out_ore"] or 0 continue market = by_id.get(row["market_id"]) if market is None: