added TypeError category to existing exception

This commit is contained in:
Jimbo77 2012-11-18 20:32:21 -08:00
parent 4a85b9db62
commit 86da219fb9
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class SimpleConfig:
import ast
try:
out = ast.literal_eval(out)
except:
except TypeError:
print "type error, using default value"
out = default