Skip to content

Commit

Permalink
working on bug #12
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiobendrauf committed Sep 17, 2024
1 parent 1e29590 commit efa8e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nudge-auto-updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def read_macos_data(d:dict):
dates[str(version)] = release["Latest"]["ReleaseDate"]
found_security_release = False
for security_release in release["SecurityReleases"]:
if security_release["ProductVersion"] == release["Latest"]["ProductVersion"]:
if Version(security_release["ProductVersion"]) == Version(release["Latest"]["ProductVersion"]):
urls[str(version)] = process_url(security_release["SecurityInfo"])
if "CVEs" in security_release:
cves[str(version)] = security_release["CVEs"]
Expand Down

0 comments on commit efa8e67

Please sign in to comment.