From 49ac4d73e374ecf1573c048362189a7cc49f3273 Mon Sep 17 00:00:00 2001 From: Jimbo77 Date: Sun, 18 Nov 2012 16:56:17 -0800 Subject: [PATCH] changed a couple exceptions to describe import errors --- lib/simple_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/simple_config.py b/lib/simple_config.py index b28f33a9..025c7bcc 100644 --- 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