ton_buy: missing parameter - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 1a768427307f16cdff1801605a1c7c3d20eb4edd (DIR) parent 0933f57e18fef6eff07db7a9018b4cee48542235 (HTM) Author: ThomasV <thomasv@gitorious> Date: Sat, 4 Apr 2015 22:16:59 +0200 on_buy: missing parameter Diffstat: M plugins/trustedcoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/plugins/trustedcoin.py b/plugins/trustedcoin.py t@@ -601,7 +601,7 @@ class Plugin(BasePlugin): grid.addWidget(QLabel("Price for %d prepaid transactions:"%k), i, 0) grid.addWidget(QLabel("%d x "%k + self.window.format_amount(v/k) + ' ' + self.window.base_unit()), i, 1) b = QPushButton(_("Buy")) - b.clicked.connect(lambda k=k, v=v: self.on_buy(k, v, d)) + b.clicked.connect(lambda b, k=k, v=v: self.on_buy(k, v, d)) grid.addWidget(b, i, 2) i += 1