Skip to content

Commit

Permalink
Change check_for_update to not exit process on server connection error (
Browse files Browse the repository at this point in the history
AdnanHodzic#629)

Co-authored-by: hingen <1627313-hingen@users.noreply.gitlab.com>
  • Loading branch information
2 people authored and shadeyg56 committed Feb 12, 2024
1 parent b25494e commit 876f99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_cpufreq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def check_for_update():
except (requests.exceptions.ConnectionError, requests.exceptions.Timeout,
requests.exceptions.RequestException, requests.exceptions.HTTPError) as err:
print ("Error Connecting to server!")
exit(1)
return False

latest_version = latest_release["tag_name"]

Expand Down

0 comments on commit 876f99a

Please sign in to comment.