1
0

fix for portable version: use its own directory

This commit is contained in:
ThomasV
2013-11-05 23:02:51 +01:00
parent 325efed9ac
commit f340f08a6e
2 changed files with 9 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ if __name__ == '__main__':
parser = arg_parser()
options, args = parser.parse_args()
if options.portable and options.wallet_path is None:
options.wallet_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'electrum.dat')
options.electrum_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'electrum_data')
# config is an object passed to the various constructors (wallet, interface, gui)
if is_android: