From 72c91471c175dcca6e461c768a3dccc1cce49074 Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 18 Jul 2019 20:26:49 +0200 Subject: [PATCH] memory (disco): fixed boolean to string conversion --- sat/memory/disco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/memory/disco.py b/sat/memory/disco.py index 3eae7951..efcdf63b 100755 --- a/sat/memory/disco.py +++ b/sat/memory/disco.py @@ -427,7 +427,7 @@ class Discovery(object): values = [field.value] if field.value is not None else field.values if field.fieldType == u"boolean": - values = [C.boolConst(C.bool(v)) for v in values] + values = [C.boolConst(v) for v in values] fields.append((data, values)) extensions[form_type or ""] = fields