mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
Update archivebox/config.py
Co-authored-by: Nick Sweeting <git@sweeting.me>
This commit is contained in:
parent
8616cd758a
commit
4ae35c86f2
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ def get_version_releases(config):
|
|||
|
||||
# find current version or nearest older version (to link to)
|
||||
current_version = None
|
||||
for i, release in enumerate(releases):
|
||||
for release in releases:
|
||||
release_parts = parse_tag_name(release["tag_name"])
|
||||
if compare_versions(release["tag_name"], installed_version) <= 0:
|
||||
current_version = release
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue