tfix #2235 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 98353c286a5a2a1b49521a54d9a25f8ed4253261 DIR parent b2d66b2a6f0b98722abd1b33f5bfebc68f4fe4d6 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 4 Mar 2017 08:41:45 +0100 fix #2235 Diffstat: M lib/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/storage.py b/lib/storage.py t@@ -67,7 +67,7 @@ class WalletStorage(PrintError): self.lock = threading.RLock() self.data = {} self.path = path - self.file_exists = os.path.exists(self.path) + self.file_exists = self.path and os.path.exists(self.path) self.modified = False self.pubkey = None