From 98353c286a5a2a1b49521a54d9a25f8ed4253261 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 4 Mar 2017 08:41:45 +0100 Subject: [PATCH] fix #2235 --- lib/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage.py b/lib/storage.py index e82c2e512..24c561fbd 100644 --- a/lib/storage.py +++ b/lib/storage.py @@ -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