add version to android path

This commit is contained in:
ThomasV 2012-11-20 17:56:23 +01:00
parent d8c49a2fef
commit d55aa43cf6
2 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,7 @@ if __name__ == '__main__':
# config is an object passed to the various constructors (wallet, interface, gui)
if 'ANDROID_DATA' in os.environ:
config_options = {'wallet_path':"/sdcard/electrum.dat", 'blockchain_headers_path':'/sdcard', 'gui':'android'}
config_options = {'wallet_path':"/sdcard/electrum.dat", 'blockchain_headers_path':'/sdcard/sl4a/e4a-%s'%ELECTRUM_VERSION, 'gui':'android'}
else:
config_options = eval(str(options))
for k, v in config_options.items():

View File

@ -1,3 +1,4 @@
from version import ELECTRUM_VERSION
from util import format_satoshis, print_error, set_verbosity
from wallet import Wallet, WalletSynchronizer
from verifier import WalletVerifier