mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix: case where wdir path is empty (portable wallet)
This commit is contained in:
parent
bd96815eb3
commit
e2a2596479
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ class WalletVerifier(threading.Thread):
|
||||||
|
|
||||||
def path(self):
|
def path(self):
|
||||||
wdir = self.config.get('blockchain_headers_path', user_dir())
|
wdir = self.config.get('blockchain_headers_path', user_dir())
|
||||||
if not os.path.exists( wdir ): os.mkdir(wdir)
|
if wdir and not os.path.exists( wdir ): os.mkdir(wdir)
|
||||||
return os.path.join( wdir, 'blockchain_headers')
|
return os.path.join( wdir, 'blockchain_headers')
|
||||||
|
|
||||||
def init_headers_file(self):
|
def init_headers_file(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue