commit 49ac4d73e374ecf1573c048362189a7cc49f3273
parent 2d13107897f8e7acb9c7f5a4c1f54780934784db
Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 18 Nov 2012 16:56:17 -0800
changed a couple exceptions to describe import errors
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/simple_config.py b/lib/simple_config.py
@@ -105,7 +105,7 @@ class SimpleConfig:
if os.path.exists(name):
try:
import ConfigParser
- except:
+ except ImportError:
print "cannot parse electrum.conf. please install ConfigParser"
return
@@ -125,7 +125,7 @@ class SimpleConfig:
if os.path.exists(name):
try:
import ConfigParser
- except:
+ except ImportError:
print "cannot parse electrum.conf. please install ConfigParser"
return