mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
Import SimpleConfig from electrum if installed
This commit is contained in:
parent
593b2552d1
commit
aaa496fa60
1 changed files with 2 additions and 3 deletions
5
electrum
5
electrum
|
@ -37,12 +37,11 @@ except ImportError:
|
||||||
sys.exit("Error: AES does not seem to be installed. Try 'sudo pip install slowaes'")
|
sys.exit("Error: AES does not seem to be installed. Try 'sudo pip install slowaes'")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from lib import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password
|
from lib import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password, SimpleConfig
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from electrum import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password
|
from electrum import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password, SimpleConfig
|
||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from lib import SimpleConfig
|
|
||||||
|
|
||||||
known_commands = {
|
known_commands = {
|
||||||
'help':'Prints this help',
|
'help':'Prints this help',
|
||||||
|
|
Loading…
Add table
Reference in a new issue