1
0

tie confirmation icons to payment verifier

This commit is contained in:
ThomasV
2012-10-26 00:40:19 +02:00
parent 46eabd1dab
commit 2a06a5b493
7 changed files with 33 additions and 43 deletions

View File

@@ -104,8 +104,12 @@ class SimpleConfig:
# try to fix the type
if default is not None and type(out) != type(default):
import ast
out = ast.literal_eval(out)
try:
out = ast.literal_eval(out)
except:
print "type error, using default value"
out = default
return out