diff --git a/electrum/gui/qml/qeinvoice.py b/electrum/gui/qml/qeinvoice.py index c70381048..32c09c0db 100644 --- a/electrum/gui/qml/qeinvoice.py +++ b/electrum/gui/qml/qeinvoice.py @@ -216,7 +216,7 @@ class QEInvoiceParser(QEInvoice, QtEventListener): @pyqtProperty(bool, notify=lnurlRetrieved) def isLnurlPay(self): - return not self._lnurlData is None + return self._lnurlData is not None @pyqtProperty(str, notify=invoiceChanged) def message(self):