Fix DictValueOr default value returning "default" string

This commit is contained in:
Madeline Busig 2025-11-10 23:59:19 -08:00
parent e42d640083
commit 49723910d8

View File

@ -2,7 +2,7 @@ proc DictValueOr { dict key default } {
if { [dict exists $dict $key] } { if { [dict exists $dict $key] } {
return [dict get $dict $key] return [dict get $dict $key]
} else { } else {
return default return $default
} }
} }