git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9f4f7ee
)
got rid of boolean value comparison using == as stated in pep8 style guide
author
Jimbo77
<onlineregular@gmail.com>
Thu, 23 Aug 2012 00:50:54 +0000 (17:50 -0700)
committer
Jimbo77
<onlineregular@gmail.com>
Thu, 23 Aug 2012 00:50:54 +0000 (17:50 -0700)
lib/gui_lite.py
patch
|
blob
|
history
diff --git
a/lib/gui_lite.py
b/lib/gui_lite.py
index
8ba16b0
..
2e59115
100644
(file)
--- 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: