Skip to content

Commit

Permalink
strip trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Jun 12, 2024
1 parent 07a22d6 commit 03def55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/scripts/workflow_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def main(parser: COP, options: 'Values', *ids: str) -> None:
if len(ids) != 1:
raise InputError("Please give a single ID")

id_ = ids[0]
id_ = ids[0].rstrip('/') # might get 'id/' due to autcomplete

if any(
[
Expand Down

0 comments on commit 03def55

Please sign in to comment.