This commit is contained in:
Nikos Kouremenos 2006-02-26 14:12:55 +00:00
parent 4b2fb25bfd
commit f674babbd1
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ def get_file_path_from_dnd_dropped_uri(uri):
return path
def from_xs_boolean_to_python_boolean(value):
# this is xs:boolean so 'true','false','1','0'
# this is xs:boolean so 'true', 'false', '1', '0'
# convert those to True/False (python booleans)
if value in ('1', 'true'):
val = True