Skip to content

Commit 66105d0

Browse files
Merge branch 'develop' into jenkins_node.env
2 parents f8d0b2b + b6936ee commit 66105d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ush/python/pygfs/task/archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def _archive_expdir(self, arch_dict: Dict[str, Any]) -> bool:
487487
if current_cycle in [first_full, edate]:
488488
# Always save the first and last
489489
return True
490-
elif (current_cycle - first_full).total_seconds() % freq == 0:
490+
elif freq != 0 and (current_cycle - first_full).total_seconds() % freq == 0:
491491
# Otherwise, the frequency is in hours
492492
return True
493493
else:

0 commit comments

Comments
 (0)