mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-19 19:54:40 +02:00
Change check_for_update to not exit process on server connection error (#629)
Co-authored-by: hingen <1627313-hingen@users.noreply.gitlab.com>
This commit is contained in:
parent
fe29620646
commit
d2cb5a3761
@ -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"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user