added TypeError category to existing exception
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user