tfix: case where wdir path is empty (portable wallet) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e2a25964795f80fc343f21c70eaa21c97a1d3f35 DIR parent bd96815eb31f581e846a6f9072378219d90a4240 HTML Author: thomasv <thomasv@gitorious> Date: Mon, 17 Dec 2012 15:24:06 +0100 fix: case where wdir path is empty (portable wallet) Diffstat: M lib/verifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/verifier.py b/lib/verifier.py t@@ -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):