Skip to content

Commit

Permalink
Remove unnecessary Path call
Browse files Browse the repository at this point in the history
  • Loading branch information
stefmolin committed Oct 27, 2024
1 parent 9f665e7 commit 68455d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/post_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def determine_versions():
"""Determine stable/dev/etc. and docs version number."""
last_minor_release = sorted(
[
parse_version(Path(directory).name)
parse_version(directory.name)
for directory in Path().glob(f'{build_html_dir}/[0-9].[0-9]/')
]
or [parse_version('0.0')]
Expand Down

0 comments on commit 68455d6

Please sign in to comment.