mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
got rid of boolean value comparison using == as stated in pep8 style guide
This commit is contained in:
parent
9f4f7ee3c6
commit
3bd7717038
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue