Changed the way the portable flag uses without supplying a -w argument
This commit is contained in:
2
electrum
2
electrum
@@ -88,6 +88,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
parser = arg_parser()
|
parser = arg_parser()
|
||||||
options, args = parser.parse_args()
|
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)
|
set_verbosity(options.verbose)
|
||||||
|
|
||||||
# config is an object passed to the various constructors (wallet, interface, gui)
|
# config is an object passed to the various constructors (wallet, interface, gui)
|
||||||
|
|||||||
Reference in New Issue
Block a user