Skip to content

Commit

Permalink
Another small tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Apr 4, 2024
1 parent 084819c commit 8fa278f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/flow/xtriggers/workflow_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from cylc.flow.cycling.util import add_offset
from cylc.flow.dbstatecheck import CylcWorkflowDBChecker
from cylc.flow.pathutil import expand_path, get_cylc_run_dir
from cylc.flow.pathutil import get_cylc_run_dir
from cylc.flow.workflow_files import infer_latest_run_from_id


Expand Down Expand Up @@ -77,7 +77,7 @@ def workflow_state(
"""
workflow = infer_latest_run_from_id(workflow, cylc_run_dir)
cylc_run_dir = expand_path(cylc_run_dir or get_cylc_run_dir())
cylc_run_dir = get_cylc_run_dir(cylc_run_dir)

if offset is not None:
point = str(add_offset(point, offset))
Expand Down

0 comments on commit 8fa278f

Please sign in to comment.