Skip to content

Commit 7c92956

Browse files
Merge pull request geekcomputers#90 from Henocks/patch-5
Update check_internet_con.py
2 parents b11ace8 + 8490100 commit 7c92956

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

check_internet_con.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
try:
44
urllib2.urlopen("http://google.com", timeout=2)
5-
print "working connection"
5+
print ("working connection")
6+
67
except urllib2.URLError:
7-
print "No internet connection"
8+
print ("No internet connection")

0 commit comments

Comments
 (0)