Changed urllib import to be more restrictive

On certain Linux platforms, urllib in py3 no longer accepts a top-level module import. Restricting the imported modules to just "parse" fixes this issue.
This commit is contained in:
Jarl Gullberg 2016-12-09 18:02:08 +01:00 committed by GitHub
parent 1a456253a0
commit 19dc1dff82

View file

@ -54,7 +54,7 @@ import sys
import os.path
import numpy
import copy
import urllib
import urllib.parse
import os