changed a couple exceptions to describe import errors

This commit is contained in:
Jimbo77 2012-11-18 16:56:17 -08:00
parent 2d13107897
commit 49ac4d73e3
1 changed files with 2 additions and 2 deletions

View File

@ -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