electrum

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

commit b11cb11d95a99c31747dd1f2021d370311e8b81b
parent f38eed2fad96ecad0fe46ffdc4d3058351cad748
Author: SomberNight <somber.night@protonmail.com>
Date:   Sun,  5 May 2019 17:59:45 +0200

qt console: failed to print certain objects with custom __eq__

Diffstat:
Melectrum/gui/qt/console.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py @@ -252,7 +252,7 @@ class Console(QtWidgets.QPlainTextEdit): try: # eval is generally considered bad practice. use it wisely! result = eval(command, self.namespace, self.namespace) - if result != None: + if result is not None: if self.is_json: util.print_msg(util.json_encode(result)) else: