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,
|
except (requests.exceptions.ConnectionError, requests.exceptions.Timeout,
|
||||||
requests.exceptions.RequestException, requests.exceptions.HTTPError) as err:
|
requests.exceptions.RequestException, requests.exceptions.HTTPError) as err:
|
||||||
print ("Error Connecting to server!")
|
print ("Error Connecting to server!")
|
||||||
exit(1)
|
return False
|
||||||
|
|
||||||
latest_version = latest_release["tag_name"]
|
latest_version = latest_release["tag_name"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue