changeset 3012:2224fbbd45dd

memory (disco): fixed boolean to string conversion
author Goffi <goffi@goffi.org>
date Thu, 18 Jul 2019 20:26:49 +0200
parents 93da7c6f8e0c
children 860c550028d6
files sat/memory/disco.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/memory/disco.py	Wed Jul 17 09:28:35 2019 +0200
+++ b/sat/memory/disco.py	Thu Jul 18 20:26:49 2019 +0200
@@ -427,7 +427,7 @@
 
                 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