os path join

This commit is contained in:
ecdsa 2013-04-20 18:21:51 +02:00
parent dcd73df929
commit de21e2297e
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,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.dirname(os.path.realpath(__file__)) + '/electrum.dat'
options.wallet_path = os.path.join(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)