Skip to content

Commit e075995

Browse files
authored
Updated check_internet_con.py
Added function to check internet connectivity.
1 parent e1bb616 commit e075995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_internet_con.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
def checkInternetConnectivity():
55
try:
6-
urllib2.urlopen("http://google22.com", timeout=2)
6+
urllib2.urlopen("http://google.com", timeout=2)
77
print("Working connection")
88

99
except urllib2.URLError as E:

0 commit comments

Comments
 (0)