Skip to content

Commit

Permalink
ERS: ninst might be None
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Jan 15, 2025
1 parent 954266b commit 82b7382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CIME/SystemTests/ers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _ers_second_phase(self):
)
ninst = self._case.get_value("NINST")
drvrest = "rpointer.cpl"
if ninst > 1:
if ninst is not None and ninst > 1:
drvrest += "_0001"
drvrest += self._rest_time

Expand Down

0 comments on commit 82b7382

Please sign in to comment.