generated from maddiebusig/vivado-template-hog
Fix DictValueOr default value returning "default" string
This commit is contained in:
parent
e42d640083
commit
49723910d8
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user