commit d55aa43cf683fed79411494ecd081bf3d196037a
parent d8c49a2fef68e08ffeecffe6604538bc0f5fa6e2
Author: ThomasV <thomasv@gitorious>
Date: Tue, 20 Nov 2012 17:56:23 +0100
add version to android path
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/electrum b/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():
diff --git a/lib/__init__.py b/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