diff --git a/DNS Fixer.py b/DNS Fixer.py index 1f67726..46f7fe7 100644 --- a/DNS Fixer.py +++ b/DNS Fixer.py @@ -1,6 +1,6 @@ import requests import os - +#at the moment this code only checks if it is running with root privileges and checks your internet connection url = "https://www.google.com/" timeout = 5 @@ -10,8 +10,9 @@ request = requests.get(url, timeout=timeout) print(request) print("Connected to the Internet") + #this code is not completed it will be updated with a working cod except (requests.ConnectionError, requests.Timeout) as exception: print("No internet connection.") else: - print("Please run this script with root Privileages.") \ No newline at end of file + print("Please run this script with root Privileages.")