electrum

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

commit 3bd77170380152fadc3132ad2695d2fa6d43a6ce
parent 9f4f7ee3c6ee0fbc6bdb4185cb3ded9108120b13
Author: Jimbo77 <onlineregular@gmail.com>
Date:   Wed, 22 Aug 2012 17:50:54 -0700

got rid of boolean value comparison using == as stated in pep8 style guide

Diffstat:
Mlib/gui_lite.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gui_lite.py b/lib/gui_lite.py @@ -320,7 +320,7 @@ class MiniWindow(QDialog): def check_button_status(self): """Check that the bitcoin address is valid and that something is entered in the amount before making the send button clickable.""" - if (self.address_input.property("isValid") == True and + if (self.address_input.property("isValid") and len(self.amount_input.text()) > 0): self.send_button.setDisabled(False) else: