electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 034bc64fe6989501e2f7cd9af28364d5318d49d1
parent 7ddc29a912a2fdf6b2a307623a29c40823102c52
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 27 May 2013 21:14:38 +0200

fix indent

Diffstat:
Mgui/qrcodewidget.py | 12++++++------
Mplugins/qrscanner.py | 5++---
2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/gui/qrcodewidget.py b/gui/qrcodewidget.py @@ -18,12 +18,12 @@ class QRCodeWidget(QWidget): def set_addr(self, addr): if self.addr != addr: - if len(addr) < 128: - MinSize = 210 - else: - MinSize = 500 - self.setMinimumSize(MinSize, MinSize) - self.addr = addr + if len(addr) < 128: + MinSize = 210 + else: + MinSize = 500 + self.setMinimumSize(MinSize, MinSize) + self.addr = addr self.qr = None self.update() diff --git a/plugins/qrscanner.py b/plugins/qrscanner.py @@ -215,9 +215,8 @@ class Plugin(BasePlugin): def sign_raw_transaction(self, tx, input_info, dialog ="", password = ""): try: self.gui.wallet.signrawtransaction(tx, input_info, [], password) - txtext = json.dumps(tx.as_dict()).replace(' ', '') - self.show_tx_qrcode(txtext, 'Signed Transaction') - + txtext = json.dumps(tx.as_dict()).replace(' ', '') + self.show_tx_qrcode(txtext, 'Signed Transaction') except BaseException, e: self.gui.show_message(str(e))