updated for the python3 urllib merge
diff --git a/check_internet_con.py b/check_internet_con.py
index 073d828f5f..2e4fa2e2b4 100644
--- a/check_internet_con.py
+++ b/check_internet_con.py
@@ -1,6 +1,11 @@
 #!/usr/bin/python3
-import urllib2
 
+try:
+    # For Python 3.0 and later
+    from urllib.request import urlopen
+except ImportError:
+    # Fall back to Python 2's urllib2
+    from urllib2 import urlopen
 
 def checkInternetConnectivity():
     try:
