tchanged to more descriptive exception - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit cb67ec4454aecbd55151c7200c1e005da1627e57
DIR parent 47432b32c8aac09bbeae20a5d03f3eb2cbb83288
HTML Author: Jimbo77 <onlineregular@gmail.com>
Date: Thu, 23 Aug 2012 17:50:44 -0700
changed to more descriptive exception
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -715,7 +715,7 @@ class Wallet:
self.conversion_currency = d.get('conversion_currency', 'USD')
self.theme = d.get('theme', 'Cleanlook')
except:
- raise BaseException("cannot read wallet file")
+ raise IOError("Cannot read wallet file.")
self.update_tx_history()