typo
This commit is contained in:
parent
bd0a5230d9
commit
0455ce1e3f
|
@ -278,7 +278,7 @@ def get_file_path_from_dnd_dropped_uri(uri):
|
|||
def from_xs_boolean_to_python_boolean(value):
|
||||
# this is xs:boolean so 'true','false','1','0'
|
||||
# convert those to True/False (python booleans)
|
||||
if val in ('1', 'true'):
|
||||
if value in ('1', 'true'):
|
||||
val = True
|
||||
else: # '0', 'false' or anything else
|
||||
val = False
|
||||
|
|
Loading…
Reference in New Issue