Browse Source

added TypeError category to existing exception

283
Jimbo77 12 years ago
parent
commit
86da219fb9
  1. 2
      lib/simple_config.py

2
lib/simple_config.py

@ -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…
Cancel
Save