mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
Changed the way the portable flag uses without supplying a -w argument
This commit is contained in:
parent
d09d4e4055
commit
6938636ba2
1 changed files with 2 additions and 0 deletions
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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue