electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit e2a25964795f80fc343f21c70eaa21c97a1d3f35
parent bd96815eb31f581e846a6f9072378219d90a4240
Author: thomasv <thomasv@gitorious>
Date:   Mon, 17 Dec 2012 15:24:06 +0100

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

Diffstat:
Mlib/verifier.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/verifier.py b/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):