git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bd96815
)
fix: case where wdir path is empty (portable wallet)
author
thomasv
<thomasv@gitorious>
Mon, 17 Dec 2012 14:24:06 +0000 (15:24 +0100)
committer
thomasv
<thomasv@gitorious>
Mon, 17 Dec 2012 14:24:06 +0000 (15:24 +0100)
lib/verifier.py
patch
|
blob
|
history
diff --git
a/lib/verifier.py
b/lib/verifier.py
index
836fa6b
..
51e41d7
100644
(file)
--- 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):