diff --git a/lib/wallet.py b/lib/wallet.py index 8b2cd2e72..bd5901a32 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -75,6 +75,8 @@ class WalletStorage(PrintError): data = f.read() except IOError: return + if not data: + return try: self.data = json.loads(data) except: