Browse Source

add version to android path

283
ThomasV 12 years ago
parent
commit
d55aa43cf6
  1. 2
      electrum
  2. 1
      lib/__init__.py

2
electrum

@ -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():

1
lib/__init__.py

@ -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

Loading…
Cancel
Save