Import SimpleConfig from electrum if installed
This commit is contained in:
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',
|
||||||
|
|||||||
Reference in New Issue
Block a user