Skip to content

Commit b8124d8

Browse files
committed
change if statement
1 parent 5a1c4f9 commit b8124d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kratos.gid/apps/MPM/write/writeProjectParameters.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ proc ::MPM::write::GetOutputProcessesList { } {
226226

227227
# Restart
228228
set need_restart [write::getValue EnableRestartOutput]
229-
if {$need_restart eq "On"} {
229+
if {[write::isBooleanTrue $need_restart]} {
230230
set restart_dict [dict create ]
231231
dict set restart_dict python_module save_restart_process
232232
dict set restart_dict kratos_module "KratosMultiphysics"

0 commit comments

Comments
 (0)