From 0455ce1e3f1a1233c86e76d8c0b3abe0790a3392 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 18 Aug 2005 19:25:12 +0000 Subject: [PATCH] typo --- src/common/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index 29f3dac66..40912ef3a 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -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