tgot rid of boolean value comparison using == as stated in pep8 style guide - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3bd77170380152fadc3132ad2695d2fa6d43a6ce DIR parent 9f4f7ee3c6ee0fbc6bdb4185cb3ded9108120b13 HTML 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: M lib/gui_lite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -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: