diff --git a/jarvis_util/shell/exec.py b/jarvis_util/shell/exec.py index a9792ce..8250be8 100644 --- a/jarvis_util/shell/exec.py +++ b/jarvis_util/shell/exec.py @@ -47,7 +47,7 @@ def __init__(self, cmd, exec_info=None): self.exec_ = MpichExec(cmd, exec_info) elif exec_type == ExecType.OPENMPI: self.exec_ = OpenMpiExec(cmd, exec_info) - elif exec_type == Exectype.CRAY_MPICH: + elif exec_type == ExecType.CRAY_MPICH: self.exec_ = CrayMpichExec(cmd, exec_info) self.set_exit_code()