Import urllib submodules

otpclient only imported the urllib parent package, not urllib.request
and urllib.parse subpackages. This may or may not work depending on the
import order of other plugins.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Christian Heimes authored and Rob Crittenden committed 2019-04-30 10:32:43 -04:00
1 parent dc113a0a31
commit e73fdcf8ba
1 file changed
+2 -1
+2 -1
View File
@@ -34,7 +34,8 @@ import qrcode
import six
from io import StringIO
import urllib
import urllib.parse
import urllib.request
if six.PY3:
unicode = str