added TypeError category to existing exception
This commit is contained in:
parent
4a85b9db62
commit
86da219fb9
@ -83,7 +83,7 @@ class SimpleConfig:
|
|||||||
import ast
|
import ast
|
||||||
try:
|
try:
|
||||||
out = ast.literal_eval(out)
|
out = ast.literal_eval(out)
|
||||||
except:
|
except TypeError:
|
||||||
print "type error, using default value"
|
print "type error, using default value"
|
||||||
out = default
|
out = default
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user