added TypeError category to existing exception
This commit is contained in:
parent
4a85b9db62
commit
86da219fb9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue