Skip to content

Commit

Permalink
Merge branch 'master' into ele-2101-fix-backwards-issue-in-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
elongl authored Dec 3, 2023
2 parents ca87722 + 724bd55 commit ca05292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elementary/utils/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_package_version() -> str:

def get_latest_package_version() -> Optional[str]:
try:
resp = requests.get(_PYPI_URL)
resp = requests.get(_PYPI_URL, timeout=5)
resp.raise_for_status()
return resp.json().get("info", {}).get("version")
except Exception:
Expand Down

0 comments on commit ca05292

Please sign in to comment.