Browse Source
notably this is needed when the shell itself does not get a chance to expand "~", e.g. when a path is passed via JSON-RPC >>> os.path.normcase(os.path.realpath(os.path.abspath("~/.electrum/testnet/wallets/delete_me2"))) '/home/user/wspace/electrum/~/.electrum/testnet/wallets/delete_me2' >>> os.path.normcase(os.path.realpath(os.path.abspath(os.path.expanduser("~/.electrum/testnet/wallets/delete_me2")))) '/home/user/.electrum/testnet/wallets/delete_me2'hard-fail-on-bad-server-string
SomberNight
5 years ago
1 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue