diff --git a/electrum/gui/qml/qewallet.py b/electrum/gui/qml/qewallet.py index 194b27fd2..30a839a09 100644 --- a/electrum/gui/qml/qewallet.py +++ b/electrum/gui/qml/qewallet.py @@ -338,7 +338,9 @@ class QEWallet(AuthMixin, QObject, QtEventListener): billingInfoChanged = pyqtSignal() @pyqtProperty('QVariantMap', notify=billingInfoChanged) def billingInfo(self): - return {} if self.wallet.wallet_type != '2fa' else self.wallet.billing_info + if self.wallet.wallet_type != '2fa': + return {} + return self.wallet.billing_info if self.wallet.billing_info is not None else {} @pyqtProperty(bool, notify=dataChanged) def canHaveLightning(self):