Skip to content

Commit d2ebd4a

Browse files
hotfix boolean
1 parent a3a23ac commit d2ebd4a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

kratos.gid/scripts/Writing/WriteProjectParameters.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ proc write::tcl2json { value } {
2626
string {
2727
if {$value eq "null"} {return null}
2828
if {$value eq "dictnull"} {return {{}}}
29+
if {[isBooleanFalse $value]} {return [expr "false"]}
30+
if {[isBooleanTrue $value]} {return [expr "true"]}
2931
return [json::write string $value]
3032
}
3133
dict {

0 commit comments

Comments
 (0)