typo
This commit is contained in:
parent
bd0a5230d9
commit
0455ce1e3f
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ def get_file_path_from_dnd_dropped_uri(uri):
|
||||||
def from_xs_boolean_to_python_boolean(value):
|
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)
|
# convert those to True/False (python booleans)
|
||||||
if val in ('1', 'true'):
|
if value in ('1', 'true'):
|
||||||
val = True
|
val = True
|
||||||
else: # '0', 'false' or anything else
|
else: # '0', 'false' or anything else
|
||||||
val = False
|
val = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue