Skip to content

Commit

Permalink
Update src/wxflow/task.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aerorahul committed Jun 7, 2024
1 parent d68b1ed commit c710e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wxflow/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, config: Dict, *args, **kwargs):
# can be constructed here

# Construct the current cycle datetime object
self.task_config['current_cycle'] = add_to_datetime(self.task_config['PDY'], to_timedelta(f"{self.task_config.cyc}H"))
self.task_config['current_cycle'] = add_to_datetime(self._config['PDY'], to_timedelta(f"{self._config.cyc}H"))
logger.debug(f"current cycle: {self.task_config['current_cycle']}")

# Construct the previous cycle datetime object
Expand Down

0 comments on commit c710e9f

Please sign in to comment.