diff --git a/examples/demo/world_map.py b/examples/demo/world_map.py index a344e3da6..284d7569d 100644 --- a/examples/demo/world_map.py +++ b/examples/demo/world_map.py @@ -12,7 +12,7 @@ # Standard library imports import os.path -import urllib.request, urllib.parse, urllib.error +from six.moves.urllib import request # Major library imports import numpy @@ -109,7 +109,7 @@ def _download_map_image(self): if not os.path.exists(self.image_path): print("Downloading map image") - urllib.request.urlretrieve(self.image_url, self.image_path) + request.urlretrieve(self.image_url, self.image_path) #=============================================================================== # demo object that is used by the demo.py application.