diff --git a/kratos.gid/scripts/Writing/WriteProjectParameters.tcl b/kratos.gid/scripts/Writing/WriteProjectParameters.tcl index ef995179f..ff35b7b32 100644 --- a/kratos.gid/scripts/Writing/WriteProjectParameters.tcl +++ b/kratos.gid/scripts/Writing/WriteProjectParameters.tcl @@ -26,6 +26,8 @@ proc write::tcl2json { value } { string { if {$value eq "null"} {return null} if {$value eq "dictnull"} {return {{}}} + if {[isBooleanFalse $value]} {return [expr "false"]} + if {[isBooleanTrue $value]} {return [expr "true"]} return [json::write string $value] } dict {