Skip to content

Commit

Permalink
getting exact api version
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e committed May 30, 2024
1 parent 2a33d05 commit 73c47ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon/api_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
encoding="utf-8",
).splitlines()
last_line_ref = output_lines[-1].rpartition("/")[-1]
last_line_ref = output_lines[-2].rpartition("/")[-1]

with open("beacon/api_version.yml") as api_version_file:
api_version = yaml.safe_load(api_version_file)
Expand Down

0 comments on commit 73c47ad

Please sign in to comment.