Skip to content
Snippets Groups Projects
Commit 0455ce1e authored by nkour's avatar nkour
Browse files

typo

parent bd0a5230
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment