Browse Source

qml: fix imports, flake issues

patch-4
Sander van Grieken 2 years ago
parent
commit
89936689fb
  1. 1
      electrum/gui/qml/components/wizard/WCBIP39Refine.qml
  2. 2
      electrum/gui/qml/qebitcoin.py
  3. 2
      electrum/wizard.py

1
electrum/gui/qml/components/wizard/WCBIP39Refine.qml

@ -4,7 +4,6 @@ import QtQuick.Controls 2.1
import org.electrum 1.0
import ".."
import "../controls"
WizardComponent {

2
electrum/gui/qml/qebitcoin.py

@ -5,7 +5,7 @@ from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QObject
from electrum import mnemonic
from electrum import keystore
from electrum.i18n import _
from electrum.bip32 import is_bip32_derivation, xpub_type
from electrum.bip32 import is_bip32_derivation, normalize_bip32_derivation, xpub_type
from electrum.logging import get_logger
from electrum.slip39 import decode_mnemonic, Slip39Error
from electrum.util import parse_URI, create_bip21_uri, InvalidBitcoinURI, get_asyncio_loop

2
electrum/wizard.py

@ -202,7 +202,7 @@ class NewWalletWizard(AbstractWizard):
return wizard_data['seed_variant'] == 'bip39'
def is_multisig(self, wizard_data):
return 'multisig' in wizard_data and wizard_data['multisig'] == True
return 'multisig' in wizard_data and wizard_data['multisig'] is True
def on_wallet_type(self, wizard_data):
t = wizard_data['wallet_type']

Loading…
Cancel
Save