os path join
authorecdsa <ecdsa@github>
Sat, 20 Apr 2013 16:21:51 +0000 (18:21 +0200)
committerecdsa <ecdsa@github>
Sat, 20 Apr 2013 16:21:51 +0000 (18:21 +0200)
electrum

index 30f60ea..1bb630f 100755 (executable)
--- a/electrum
+++ b/electrum
@@ -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)