From 6938636ba2f1105ff75e98ebc7c8deac99df3e15 Mon Sep 17 00:00:00 2001 From: Maran Date: Thu, 11 Apr 2013 22:06:55 +0200 Subject: [PATCH] Changed the way the portable flag uses without supplying a -w argument --- electrum | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum b/electrum index b96125552..d543116d8 100755 --- a/electrum +++ b/electrum @@ -88,6 +88,8 @@ 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.dirname(os.path.realpath(__file__)) + '/electrum.dat' set_verbosity(options.verbose) # config is an object passed to the various constructors (wallet, interface, gui)