Browse Source

fix: case where wdir path is empty (portable wallet)

283
thomasv 12 years ago
parent
commit
e2a2596479
  1. 2
      lib/verifier.py

2
lib/verifier.py

@ -289,7 +289,7 @@ class WalletVerifier(threading.Thread):
def path(self):
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')
def init_headers_file(self):

Loading…
Cancel
Save