This commit is contained in:
Kovid Goyal 2014-02-25 08:11:10 +05:30
commit abd0186ff8

View File

@ -94,7 +94,7 @@ def adapt_bool(x):
x = True
elif x == 'false':
x = False
elif x == 'none':
elif x == 'none' or x == '':
x = None
else:
x = bool(int(x))